< Back
New-OnenoteEntityBaseModelObject
Post
NAME New-OnenoteEntityBaseModelObject
SYNOPSIS
Creates a new object which represents a "microsoft.graph.onenoteEntityBaseModel" (or one of its derived types).
SYNTAX
New-OnenoteEntityBaseModelObject [-self <string>] [<CommonParameters>]
New-OnenoteEntityBaseModelObject -onenoteResource <SwitchParameter> [-content <Stream>] [-contentUrl <string>]
[-self <string>] [<CommonParameters>]
New-OnenoteEntityBaseModelObject [-createdDateTime <DateTimeOffset>] [-self <string>] [<CommonParameters>]
New-OnenoteEntityBaseModelObject -onenotePage <SwitchParameter> [-content <Stream>] [-contentUrl <string>]
[-createdByAppId <string>] [-createdDateTime <DateTimeOffset>] [-lastModifiedDateTime <DateTimeOffset>] [-level
<int>] [-links <object>] [-order <int>] [-parentNotebook <object>] [-parentSection <object>] [-self <string>]
[-title <string>] [-userTags <string[]>] [<CommonParameters>]
New-OnenoteEntityBaseModelObject [-createdBy <object>] [-createdDateTime <DateTimeOffset>] [-displayName <string>]
[-lastModifiedBy <object>] [-lastModifiedDateTime <DateTimeOffset>] [-self <string>] [<CommonParameters>]
New-OnenoteEntityBaseModelObject -sectionGroup <SwitchParameter> [-createdBy <object>] [-createdDateTime
<DateTimeOffset>] [-displayName <string>] [-lastModifiedBy <object>] [-lastModifiedDateTime <DateTimeOffset>]
[-parentNotebook <object>] [-parentSectionGroup <object>] [-sectionGroups <object[]>] [-sectionGroupsUrl <string>]
[-sections <object[]>] [-sectionsUrl <string>] [-self <string>] [<CommonParameters>]
New-OnenoteEntityBaseModelObject -onenoteSection <SwitchParameter> [-createdBy <object>] [-createdDateTime
<DateTimeOffset>] [-displayName <string>] [-isDefault <bool>] [-lastModifiedBy <object>] [-lastModifiedDateTime
<DateTimeOffset>] [-links <object>] [-pages <object[]>] [-pagesUrl <string>] [-parentNotebook <object>]
[-parentSectionGroup <object>] [-self <string>] [<CommonParameters>]
New-OnenoteEntityBaseModelObject -notebook <SwitchParameter> [-createdBy <object>] [-createdDateTime
<DateTimeOffset>] [-displayName <string>] [-isDefault <bool>] [-isShared <bool>] [-lastModifiedBy <object>]
[-lastModifiedDateTime <DateTimeOffset>] [-links <object>] [-sectionGroups <object[]>] [-sectionGroupsUrl
<string>] [-sections <object[]>] [-sectionsUrl <string>] [-self <string>] [-userRole <string>] [<CommonParameters>]
DESCRIPTION
Creates a new object which represents a "microsoft.graph.onenoteEntityBaseModel" (or one of its derived types).
PARAMETERS
-self <string>
The "self" property, of type "Edm.String".
This property is on the "microsoft.graph.onenoteEntityBaseModel" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-onenoteResource <SwitchParameter>
A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.onenoteResource"
type.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-content <Stream>
The "content" property, of type "Edm.Stream".
This property is on the "microsoft.graph.onenoteResource" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-contentUrl <string>
The "contentUrl" property, of type "Edm.String".
This property is on the "microsoft.graph.onenoteResource" 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.onenoteEntitySchemaObjectModel" type.
Required? false
Position? named
Default value 1/1/0001 12:00:00 AM +00:00
Accept pipeline input? false
Accept wildcard characters? false
-onenotePage <SwitchParameter>
A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.onenotePage" type.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-title <string>
The "title" property, of type "Edm.String".
This property is on the "microsoft.graph.onenotePage" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-createdByAppId <string>
The "createdByAppId" property, of type "Edm.String".
This property is on the "microsoft.graph.onenotePage" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-links <object>
The "links" property, of type "microsoft.graph.pageLinks".
This property is on the "microsoft.graph.onenotePage" 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.onenotePage" type.
Required? false
Position? named
Default value 1/1/0001 12:00:00 AM +00:00
Accept pipeline input? false
Accept wildcard characters? false
-level <int>
The "level" property, of type "Edm.Int32".
This property is on the "microsoft.graph.onenotePage" type.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-order <int>
The "order" property, of type "Edm.Int32".
This property is on the "microsoft.graph.onenotePage" type.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-userTags <string[]>
The "userTags" property, of type "Edm.String".
This property is on the "microsoft.graph.onenotePage" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-parentSection <object>
The "parentSection" property, of type "microsoft.graph.onenoteSection".
This property is on the "microsoft.graph.onenotePage" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-parentNotebook <object>
The "parentNotebook" property, of type "microsoft.graph.notebook".
This property is on the "microsoft.graph.onenotePage" 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.onenoteEntityHierarchyModel" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-createdBy <object>
The "createdBy" property, of type "microsoft.graph.identitySet".
This property is on the "microsoft.graph.onenoteEntityHierarchyModel" 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.onenoteEntityHierarchyModel" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-sectionGroup <SwitchParameter>
A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.sectionGroup"
type.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-sectionsUrl <string>
The "sectionsUrl" property, of type "Edm.String".
This property is on the "microsoft.graph.sectionGroup" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-sectionGroupsUrl <string>
The "sectionGroupsUrl" property, of type "Edm.String".
This property is on the "microsoft.graph.sectionGroup" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-parentSectionGroup <object>
The "parentSectionGroup" property, of type "microsoft.graph.sectionGroup".
This property is on the "microsoft.graph.sectionGroup" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-sections <object[]>
The "sections" property, of type "microsoft.graph.onenoteSection".
This property is on the "microsoft.graph.sectionGroup" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-sectionGroups <object[]>
The "sectionGroups" property, of type "microsoft.graph.sectionGroup".
This property is on the "microsoft.graph.sectionGroup" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-onenoteSection <SwitchParameter>
A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.onenoteSection"
type.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-isDefault <bool>
The "isDefault" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.onenoteSection" type.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-pagesUrl <string>
The "pagesUrl" property, of type "Edm.String".
This property is on the "microsoft.graph.onenoteSection" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-pages <object[]>
The "pages" property, of type "microsoft.graph.onenotePage".
This property is on the "microsoft.graph.onenoteSection" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-notebook <SwitchParameter>
A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.notebook" type.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-userRole <string>
The "userRole" property, of type "microsoft.graph.onenoteUserRole".
This property is on the "microsoft.graph.notebook" type.
Valid values: 'Owner', 'Contributor', 'Reader', 'None'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-isShared <bool>
The "isShared" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.notebook" type.
Required? false
Position? named
Default value False
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
SYNOPSIS
Creates a new object which represents a "microsoft.graph.onenoteEntityBaseModel" (or one of its derived types).
SYNTAX
New-OnenoteEntityBaseModelObject [-self <string>] [<CommonParameters>]
New-OnenoteEntityBaseModelObject -onenoteResource <SwitchParameter> [-content <Stream>] [-contentUrl <string>]
[-self <string>] [<CommonParameters>]
New-OnenoteEntityBaseModelObject [-createdDateTime <DateTimeOffset>] [-self <string>] [<CommonParameters>]
New-OnenoteEntityBaseModelObject -onenotePage <SwitchParameter> [-content <Stream>] [-contentUrl <string>]
[-createdByAppId <string>] [-createdDateTime <DateTimeOffset>] [-lastModifiedDateTime <DateTimeOffset>] [-level
<int>] [-links <object>] [-order <int>] [-parentNotebook <object>] [-parentSection <object>] [-self <string>]
[-title <string>] [-userTags <string[]>] [<CommonParameters>]
New-OnenoteEntityBaseModelObject [-createdBy <object>] [-createdDateTime <DateTimeOffset>] [-displayName <string>]
[-lastModifiedBy <object>] [-lastModifiedDateTime <DateTimeOffset>] [-self <string>] [<CommonParameters>]
New-OnenoteEntityBaseModelObject -sectionGroup <SwitchParameter> [-createdBy <object>] [-createdDateTime
<DateTimeOffset>] [-displayName <string>] [-lastModifiedBy <object>] [-lastModifiedDateTime <DateTimeOffset>]
[-parentNotebook <object>] [-parentSectionGroup <object>] [-sectionGroups <object[]>] [-sectionGroupsUrl <string>]
[-sections <object[]>] [-sectionsUrl <string>] [-self <string>] [<CommonParameters>]
New-OnenoteEntityBaseModelObject -onenoteSection <SwitchParameter> [-createdBy <object>] [-createdDateTime
<DateTimeOffset>] [-displayName <string>] [-isDefault <bool>] [-lastModifiedBy <object>] [-lastModifiedDateTime
<DateTimeOffset>] [-links <object>] [-pages <object[]>] [-pagesUrl <string>] [-parentNotebook <object>]
[-parentSectionGroup <object>] [-self <string>] [<CommonParameters>]
New-OnenoteEntityBaseModelObject -notebook <SwitchParameter> [-createdBy <object>] [-createdDateTime
<DateTimeOffset>] [-displayName <string>] [-isDefault <bool>] [-isShared <bool>] [-lastModifiedBy <object>]
[-lastModifiedDateTime <DateTimeOffset>] [-links <object>] [-sectionGroups <object[]>] [-sectionGroupsUrl
<string>] [-sections <object[]>] [-sectionsUrl <string>] [-self <string>] [-userRole <string>] [<CommonParameters>]
DESCRIPTION
Creates a new object which represents a "microsoft.graph.onenoteEntityBaseModel" (or one of its derived types).
PARAMETERS
-self <string>
The "self" property, of type "Edm.String".
This property is on the "microsoft.graph.onenoteEntityBaseModel" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-onenoteResource <SwitchParameter>
A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.onenoteResource"
type.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-content <Stream>
The "content" property, of type "Edm.Stream".
This property is on the "microsoft.graph.onenoteResource" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-contentUrl <string>
The "contentUrl" property, of type "Edm.String".
This property is on the "microsoft.graph.onenoteResource" 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.onenoteEntitySchemaObjectModel" type.
Required? false
Position? named
Default value 1/1/0001 12:00:00 AM +00:00
Accept pipeline input? false
Accept wildcard characters? false
-onenotePage <SwitchParameter>
A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.onenotePage" type.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-title <string>
The "title" property, of type "Edm.String".
This property is on the "microsoft.graph.onenotePage" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-createdByAppId <string>
The "createdByAppId" property, of type "Edm.String".
This property is on the "microsoft.graph.onenotePage" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-links <object>
The "links" property, of type "microsoft.graph.pageLinks".
This property is on the "microsoft.graph.onenotePage" 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.onenotePage" type.
Required? false
Position? named
Default value 1/1/0001 12:00:00 AM +00:00
Accept pipeline input? false
Accept wildcard characters? false
-level <int>
The "level" property, of type "Edm.Int32".
This property is on the "microsoft.graph.onenotePage" type.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-order <int>
The "order" property, of type "Edm.Int32".
This property is on the "microsoft.graph.onenotePage" type.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-userTags <string[]>
The "userTags" property, of type "Edm.String".
This property is on the "microsoft.graph.onenotePage" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-parentSection <object>
The "parentSection" property, of type "microsoft.graph.onenoteSection".
This property is on the "microsoft.graph.onenotePage" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-parentNotebook <object>
The "parentNotebook" property, of type "microsoft.graph.notebook".
This property is on the "microsoft.graph.onenotePage" 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.onenoteEntityHierarchyModel" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-createdBy <object>
The "createdBy" property, of type "microsoft.graph.identitySet".
This property is on the "microsoft.graph.onenoteEntityHierarchyModel" 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.onenoteEntityHierarchyModel" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-sectionGroup <SwitchParameter>
A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.sectionGroup"
type.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-sectionsUrl <string>
The "sectionsUrl" property, of type "Edm.String".
This property is on the "microsoft.graph.sectionGroup" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-sectionGroupsUrl <string>
The "sectionGroupsUrl" property, of type "Edm.String".
This property is on the "microsoft.graph.sectionGroup" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-parentSectionGroup <object>
The "parentSectionGroup" property, of type "microsoft.graph.sectionGroup".
This property is on the "microsoft.graph.sectionGroup" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-sections <object[]>
The "sections" property, of type "microsoft.graph.onenoteSection".
This property is on the "microsoft.graph.sectionGroup" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-sectionGroups <object[]>
The "sectionGroups" property, of type "microsoft.graph.sectionGroup".
This property is on the "microsoft.graph.sectionGroup" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-onenoteSection <SwitchParameter>
A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.onenoteSection"
type.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-isDefault <bool>
The "isDefault" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.onenoteSection" type.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-pagesUrl <string>
The "pagesUrl" property, of type "Edm.String".
This property is on the "microsoft.graph.onenoteSection" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-pages <object[]>
The "pages" property, of type "microsoft.graph.onenotePage".
This property is on the "microsoft.graph.onenoteSection" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-notebook <SwitchParameter>
A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.notebook" type.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-userRole <string>
The "userRole" property, of type "microsoft.graph.onenoteUserRole".
This property is on the "microsoft.graph.notebook" type.
Valid values: 'Owner', 'Contributor', 'Reader', 'None'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-isShared <bool>
The "isShared" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.notebook" type.
Required? false
Position? named
Default value False
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