< Back

New-BaseItemObject

Sat Jan 18, 2020 12:10 pm

NAME New-BaseItemObject



SYNOPSIS

Creates a new object which represents a "microsoft.graph.baseItem" (or one of its derived types).





SYNTAX

New-BaseItemObject [-createdBy <object>] [-createdByUser <object>] [-createdDateTime <DateTimeOffset>]

[-description <string>] [-eTag <string>] [-lastModifiedBy <object>] [-lastModifiedByUser <object>]

[-lastModifiedDateTime <DateTimeOffset>] [-name <string>] [-parentReference <object>] [-webUrl <string>]

[<CommonParameters>]



New-BaseItemObject -sharedDriveItem <SwitchParameter> [-createdBy <object>] [-createdByUser <object>]

[-createdDateTime <DateTimeOffset>] [-description <string>] [-driveItem <object>] [-eTag <string>] [-items

<object[]>] [-lastModifiedBy <object>] [-lastModifiedByUser <object>] [-lastModifiedDateTime <DateTimeOffset>]

[-list <object>] [-listItem <object>] [-name <string>] [-owner <object>] [-parentReference <object>] [-root

<object>] [-site <object>] [-webUrl <string>] [<CommonParameters>]



New-BaseItemObject [-analytics <object>] [-contentType <object>] [-createdBy <object>] [-createdByUser <object>]

[-createdDateTime <DateTimeOffset>] [-description <string>] [-driveItem <object>] [-eTag <string>] [-fields

<object>] [-lastModifiedBy <object>] [-lastModifiedByUser <object>] [-lastModifiedDateTime <DateTimeOffset>]

[-listItem <object>] [-name <string>] [-parentReference <object>] [-sharepointIds <object>] [-versions <object[]>]

[-webUrl <string>] [<CommonParameters>]



New-BaseItemObject [-columns <object[]>] [-contentTypes <object[]>] [-createdBy <object>] [-createdByUser

<object>] [-createdDateTime <DateTimeOffset>] [-description <string>] [-displayName <string>] [-drive <object>]

[-eTag <string>] [-items <object[]>] [-lastModifiedBy <object>] [-lastModifiedByUser <object>]

[-lastModifiedDateTime <DateTimeOffset>] [-list <object>] [-name <string>] [-parentReference <object>]

[-sharepointIds <object>] [-system <object>] [-webUrl <string>] [<CommonParameters>]



New-BaseItemObject [-analytics <object>] [-audio <object>] [-children <object[]>] [-content <Stream>] [-createdBy

<object>] [-createdByUser <object>] [-createdDateTime <DateTimeOffset>] [-cTag <string>] [-deleted <object>]

[-description <string>] [-driveItem <object>] [-eTag <string>] [-file <object>] [-fileSystemInfo <object>]

[-folder <object>] [-image <object>] [-lastModifiedBy <object>] [-lastModifiedByUser <object>]

[-lastModifiedDateTime <DateTimeOffset>] [-listItem <object>] [-location <object>] [-name <string>] [-package

<object>] [-parentReference <object>] [-permissions <object[]>] [-photo <object>] [-publication <object>]

[-remoteItem <object>] [-root <object>] [-searchResult <object>] [-shared <object>] [-sharepointIds <object>]

[-size <long>] [-specialFolder <object>] [-subscriptions <object[]>] [-thumbnails <object[]>] [-versions

<object[]>] [-video <object>] [-webDavUrl <string>] [-webUrl <string>] [-workbook <object>] [<CommonParameters>]



New-BaseItemObject [-analytics <object>] [-columns <object[]>] [-contentTypes <object[]>] [-createdBy <object>]

[-createdByUser <object>] [-createdDateTime <DateTimeOffset>] [-description <string>] [-displayName <string>]

[-drive <object>] [-drives <object[]>] [-eTag <string>] [-items <object[]>] [-lastModifiedBy <object>]

[-lastModifiedByUser <object>] [-lastModifiedDateTime <DateTimeOffset>] [-lists <object[]>] [-name <string>]

[-onenote <object>] [-parentReference <object>] [-root <object>] [-sharepointIds <object>] [-site <object>]

[-siteCollection <object>] [-sites <object[]>] [-webUrl <string>] [<CommonParameters>]



New-BaseItemObject [-createdBy <object>] [-createdByUser <object>] [-createdDateTime <DateTimeOffset>]

[-description <string>] [-drive <object>] [-driveType <string>] [-eTag <string>] [-items <object[]>]

[-lastModifiedBy <object>] [-lastModifiedByUser <object>] [-lastModifiedDateTime <DateTimeOffset>] [-list

<object>] [-name <string>] [-owner <object>] [-parentReference <object>] [-quota <object>] [-root <object>]

[-sharepointIds <object>] [-special <object[]>] [-system <object>] [-webUrl <string>] [<CommonParameters>]





DESCRIPTION

Creates a new object which represents a "microsoft.graph.baseItem" (or one of its derived types).





PARAMETERS

-createdBy <object>

The "createdBy" property, of type "microsoft.graph.identitySet".



This property is on the "microsoft.graph.baseItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-createdDateTime <DateTimeOffset>

The "createdDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.baseItem" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-description <string>

The "description" property, of type "Edm.String".



This property is on the "microsoft.graph.baseItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-eTag <string>

The "eTag" property, of type "Edm.String".



This property is on the "microsoft.graph.baseItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-lastModifiedBy <object>

The "lastModifiedBy" property, of type "microsoft.graph.identitySet".



This property is on the "microsoft.graph.baseItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-lastModifiedDateTime <DateTimeOffset>

The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.baseItem" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-name <string>

The "name" property, of type "Edm.String".



This property is on the "microsoft.graph.baseItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-parentReference <object>

The "parentReference" property, of type "microsoft.graph.itemReference".



This property is on the "microsoft.graph.baseItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-webUrl <string>

The "webUrl" property, of type "Edm.String".



This property is on the "microsoft.graph.baseItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-createdByUser <object>

The "createdByUser" property, of type "microsoft.graph.user".



This property is on the "microsoft.graph.baseItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-lastModifiedByUser <object>

The "lastModifiedByUser" property, of type "microsoft.graph.user".



This property is on the "microsoft.graph.baseItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-sharedDriveItem <SwitchParameter>

A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.sharedDriveItem"

type.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-owner <object>

The "owner" property, of type "microsoft.graph.identitySet".



This property is on the "microsoft.graph.sharedDriveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-driveItem <object>

The "driveItem" property, of type "microsoft.graph.driveItem".



This property is on the "microsoft.graph.sharedDriveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-items <object[]>

The "items" property, of type "microsoft.graph.driveItem".



This property is on the "microsoft.graph.sharedDriveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-list <object>

The "list" property, of type "microsoft.graph.list".



This property is on the "microsoft.graph.sharedDriveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-listItem <object>

The "listItem" property, of type "microsoft.graph.listItem".



This property is on the "microsoft.graph.sharedDriveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-root <object>

The "root" property, of type "microsoft.graph.driveItem".



This property is on the "microsoft.graph.sharedDriveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-site <object>

The "site" property, of type "microsoft.graph.site".



This property is on the "microsoft.graph.sharedDriveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-contentType <object>

The "contentType" property, of type "microsoft.graph.contentTypeInfo".



This property is on the "microsoft.graph.listItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-sharepointIds <object>

The "sharepointIds" property, of type "microsoft.graph.sharepointIds".



This property is on the "microsoft.graph.listItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-analytics <object>

The "analytics" property, of type "microsoft.graph.itemAnalytics".



This property is on the "microsoft.graph.listItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-fields <object>

The "fields" property, of type "microsoft.graph.fieldValueSet".



This property is on the "microsoft.graph.listItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-versions <object[]>

The "versions" property, of type "microsoft.graph.listItemVersion".



This property is on the "microsoft.graph.listItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-displayName <string>

The "displayName" property, of type "Edm.String".



This property is on the "microsoft.graph.list" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-system <object>

The "system" property, of type "microsoft.graph.systemFacet".



This property is on the "microsoft.graph.list" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-columns <object[]>

The "columns" property, of type "microsoft.graph.columnDefinition".



This property is on the "microsoft.graph.list" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-contentTypes <object[]>

The "contentTypes" property, of type "microsoft.graph.contentType".



This property is on the "microsoft.graph.list" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-drive <object>

The "drive" property, of type "microsoft.graph.drive".



This property is on the "microsoft.graph.list" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-audio <object>

The "audio" property, of type "microsoft.graph.audio".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-content <Stream>

The "content" property, of type "Edm.Stream".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-cTag <string>

The "cTag" property, of type "Edm.String".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-deleted <object>

The "deleted" property, of type "microsoft.graph.deleted".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-file <object>

The "file" property, of type "microsoft.graph.file".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-fileSystemInfo <object>

The "fileSystemInfo" property, of type "microsoft.graph.fileSystemInfo".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-folder <object>

The "folder" property, of type "microsoft.graph.folder".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-image <object>

The "image" property, of type "microsoft.graph.image".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-location <object>

The "location" property, of type "microsoft.graph.geoCoordinates".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-package <object>

The "package" property, of type "microsoft.graph.package".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-photo <object>

The "photo" property, of type "microsoft.graph.photo".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-publication <object>

The "publication" property, of type "microsoft.graph.publicationFacet".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-remoteItem <object>

The "remoteItem" property, of type "microsoft.graph.remoteItem".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-searchResult <object>

The "searchResult" property, of type "microsoft.graph.searchResult".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-shared <object>

The "shared" property, of type "microsoft.graph.shared".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-size <long>

The "size" property, of type "Edm.Int64".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-specialFolder <object>

The "specialFolder" property, of type "microsoft.graph.specialFolder".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-video <object>

The "video" property, of type "microsoft.graph.video".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-webDavUrl <string>

The "webDavUrl" property, of type "Edm.String".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-children <object[]>

The "children" property, of type "microsoft.graph.driveItem".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-permissions <object[]>

The "permissions" property, of type "microsoft.graph.permission".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-subscriptions <object[]>

The "subscriptions" property, of type "microsoft.graph.subscription".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-thumbnails <object[]>

The "thumbnails" property, of type "microsoft.graph.thumbnailSet".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-workbook <object>

The "workbook" property, of type "microsoft.graph.workbook".



This property is on the "microsoft.graph.driveItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-siteCollection <object>

The "siteCollection" property, of type "microsoft.graph.siteCollection".



This property is on the "microsoft.graph.site" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-drives <object[]>

The "drives" property, of type "microsoft.graph.drive".



This property is on the "microsoft.graph.site" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-lists <object[]>

The "lists" property, of type "microsoft.graph.list".



This property is on the "microsoft.graph.site" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-sites <object[]>

The "sites" property, of type "microsoft.graph.site".



This property is on the "microsoft.graph.site" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-onenote <object>

The "onenote" property, of type "microsoft.graph.onenote".



This property is on the "microsoft.graph.site" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-driveType <string>

The "driveType" property, of type "Edm.String".



This property is on the "microsoft.graph.drive" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-quota <object>

The "quota" property, of type "microsoft.graph.quota".



This property is on the "microsoft.graph.drive" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-special <object[]>

The "special" property, of type "microsoft.graph.driveItem".



This property is on the "microsoft.graph.drive" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS