Share via


New-MgSiteGetByPathTermStore

Create new navigation property to termStores for sites

Syntax

CreateExpanded (Default)

New-MgSiteGetByPathTermStore
    -Path <string>
    -SiteId <string>
    [-ResponseHeadersVariable <string>]
    [-AdditionalProperties <hashtable>]
    [-DefaultLanguageTag <string>]
    [-Groups <IMicrosoftGraphTermStoreGroup[]>]
    [-Id <string>]
    [-LanguageTags <string[]>]
    [-Sets <IMicrosoftGraphTermStoreSet[]>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Create

New-MgSiteGetByPathTermStore
    -Path <string>
    -SiteId <string>
    -BodyParameter <IMicrosoftGraphTermStore>
    [-ResponseHeadersVariable <string>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

CreateViaIdentityExpanded

New-MgSiteGetByPathTermStore
    -InputObject <ISitesIdentity>
    [-ResponseHeadersVariable <string>]
    [-AdditionalProperties <hashtable>]
    [-DefaultLanguageTag <string>]
    [-Groups <IMicrosoftGraphTermStoreGroup[]>]
    [-Id <string>]
    [-LanguageTags <string[]>]
    [-Sets <IMicrosoftGraphTermStoreSet[]>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

CreateViaIdentity

New-MgSiteGetByPathTermStore
    -InputObject <ISitesIdentity>
    -BodyParameter <IMicrosoftGraphTermStore>
    [-ResponseHeadersVariable <string>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Parameters

-AdditionalProperties

Additional Parameters

Parameter properties

Type:System.Collections.Hashtable
Supports wildcards:False
DontShow:False

Parameter sets

CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-BodyParameter

store To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Parameter properties

Type:Microsoft.Graph.PowerShell.Models.IMicrosoftGraphTermStore
Supports wildcards:False
DontShow:False

Parameter sets

CreateViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
Create
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Break

Wait for .NET debugger to attach

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultLanguageTag

Default language of the term store.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Groups

Collection of all groups available in the term store. To construct, see NOTES section for GROUPS properties and create a hash table.

Parameter properties

Type:

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphTermStoreGroup[]

Supports wildcards:False
DontShow:False

Parameter sets

CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Headers

Optional headers that will be added to the request.

Parameter properties

Type:System.Collections.IDictionary
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-HttpPipelineAppend

SendAsync Pipeline Steps to be appended to the front of the pipeline

Parameter properties

Type:

Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]

Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-HttpPipelinePrepend

SendAsync Pipeline Steps to be prepended to the front of the pipeline

Parameter properties

Type:

Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]

Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

The unique identifier for an entity. Read-only.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Parameter properties

Type:Microsoft.Graph.PowerShell.Models.ISitesIdentity
Supports wildcards:False
DontShow:False

Parameter sets

CreateViaIdentityExpanded
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-LanguageTags

List of languages for the term store.

Parameter properties

Type:

System.String[]

Supports wildcards:False
DontShow:False

Parameter sets

CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Path

Usage: path='{path}'

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Create
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Proxy

The URI for the proxy server to use

Parameter properties

Type:System.Uri
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProxyCredential

Credentials for a proxy server to use for the remote call

Parameter properties

Type:System.Management.Automation.PSCredential
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProxyUseDefaultCredentials

Use the default credentials for the proxy

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False
Aliases:RHV

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Sets

Collection of all sets available in the term store. This relationship can only be used to load a specific term set. To construct, see NOTES section for SETS properties and create a hash table.

Parameter properties

Type:

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphTermStoreSet[]

Supports wildcards:False
DontShow:False

Parameter sets

CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SiteId

The unique identifier of site

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Create
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Runs the command in a mode that only reports what would happen without performing the actions.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphTermStore

{{ Fill in the Description }}

Microsoft.Graph.PowerShell.Models.ISitesIdentity

{{ Fill in the Description }}

System.Collections.IDictionary

{{ Fill in the Description }}

Outputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphTermStore

{{ Fill in the Description }}

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

BODYPARAMETER <IMicrosoftGraphTermStore>: store [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [DefaultLanguageTag <String>]: Default language of the term store. [Groups <IMicrosoftGraphTermStoreGroup[]>]: Collection of all groups available in the term store. [Id <String>]: The unique identifier for an entity. Read-only. [CreatedDateTime <DateTime?>]: Date and time of the group creation. Read-only. [Description <String>]: Description that gives details on the term usage. [DisplayName <String>]: Name of the group. [ParentSiteId <String>]: ID of the parent site of this group. [Scope <String>]: termGroupScope [Sets <IMicrosoftGraphTermStoreSet[]>]: All sets under the group in a term [store]. [Id <String>]: The unique identifier for an entity. Read-only. [Children <IMicrosoftGraphTermStoreTerm[]>]: Children terms of set in term [store]. [Id <String>]: The unique identifier for an entity. Read-only. [Children <IMicrosoftGraphTermStoreTerm[]>]: Children of current term. [CreatedDateTime <DateTime?>]: Date and time of term creation. Read-only. [Descriptions <IMicrosoftGraphTermStoreLocalizedDescription[]>]: Description about term that is dependent on the languageTag. [Description <String>]: The description in the localized language. [LanguageTag <String>]: The language tag for the label. [Labels <IMicrosoftGraphTermStoreLocalizedLabel[]>]: Label metadata for a term. [IsDefault <Boolean?>]: Indicates whether the label is the default label. [LanguageTag <String>]: The language tag for the label. [Name <String>]: The name of the label. [LastModifiedDateTime <DateTime?>]: Last date and time of term modification. Read-only. [Properties <IMicrosoftGraphKeyValue[]>]: Collection of properties on the term. [Key <String>]: Key for the key-value pair. [Value <String>]: Value for the key-value pair. [Relations <IMicrosoftGraphTermStoreRelation[]>]: To indicate which terms are related to the current term as either pinned or reused. [Id <String>]: The unique identifier for an entity. Read-only. [FromTerm <IMicrosoftGraphTermStoreTerm>]: term [Relationship <String>]: relationType [Set <IMicrosoftGraphTermStoreSet>]: set [ToTerm <IMicrosoftGraphTermStoreTerm>]: term [Set <IMicrosoftGraphTermStoreSet>]: set [CreatedDateTime <DateTime?>]: Date and time of set creation. Read-only. [Description <String>]: Description that gives details on the term usage. [LocalizedNames <IMicrosoftGraphTermStoreLocalizedName[]>]: Name of the set for each languageTag. [LanguageTag <String>]: The language tag for the label. [Name <String>]: The name in the localized language. [ParentGroup <IMicrosoftGraphTermStoreGroup>]: group [Properties <IMicrosoftGraphKeyValue[]>]: Custom properties for the set. [Relations <IMicrosoftGraphTermStoreRelation[]>]: Indicates which terms have been pinned or reused directly under the set. [Terms <IMicrosoftGraphTermStoreTerm[]>]: All the terms under the set. [LanguageTags <String[]>]: List of languages for the term store. [Sets <IMicrosoftGraphTermStoreSet[]>]: Collection of all sets available in the term store. This relationship can only be used to load a specific term set.

GROUPS <IMicrosoftGraphTermStoreGroup[]>: Collection of all groups available in the term store. [Id <String>]: The unique identifier for an entity. Read-only. [CreatedDateTime <DateTime?>]: Date and time of the group creation. Read-only. [Description <String>]: Description that gives details on the term usage. [DisplayName <String>]: Name of the group. [ParentSiteId <String>]: ID of the parent site of this group. [Scope <String>]: termGroupScope [Sets <IMicrosoftGraphTermStoreSet[]>]: All sets under the group in a term [store]. [Id <String>]: The unique identifier for an entity. Read-only. [Children <IMicrosoftGraphTermStoreTerm[]>]: Children terms of set in term [store]. [Id <String>]: The unique identifier for an entity. Read-only. [Children <IMicrosoftGraphTermStoreTerm[]>]: Children of current term. [CreatedDateTime <DateTime?>]: Date and time of term creation. Read-only. [Descriptions <IMicrosoftGraphTermStoreLocalizedDescription[]>]: Description about term that is dependent on the languageTag. [Description <String>]: The description in the localized language. [LanguageTag <String>]: The language tag for the label. [Labels <IMicrosoftGraphTermStoreLocalizedLabel[]>]: Label metadata for a term. [IsDefault <Boolean?>]: Indicates whether the label is the default label. [LanguageTag <String>]: The language tag for the label. [Name <String>]: The name of the label. [LastModifiedDateTime <DateTime?>]: Last date and time of term modification. Read-only. [Properties <IMicrosoftGraphKeyValue[]>]: Collection of properties on the term. [Key <String>]: Key for the key-value pair. [Value <String>]: Value for the key-value pair. [Relations <IMicrosoftGraphTermStoreRelation[]>]: To indicate which terms are related to the current term as either pinned or reused. [Id <String>]: The unique identifier for an entity. Read-only. [FromTerm <IMicrosoftGraphTermStoreTerm>]: term [Relationship <String>]: relationType [Set <IMicrosoftGraphTermStoreSet>]: set [ToTerm <IMicrosoftGraphTermStoreTerm>]: term [Set <IMicrosoftGraphTermStoreSet>]: set [CreatedDateTime <DateTime?>]: Date and time of set creation. Read-only. [Description <String>]: Description that gives details on the term usage. [LocalizedNames <IMicrosoftGraphTermStoreLocalizedName[]>]: Name of the set for each languageTag. [LanguageTag <String>]: The language tag for the label. [Name <String>]: The name in the localized language. [ParentGroup <IMicrosoftGraphTermStoreGroup>]: group [Properties <IMicrosoftGraphKeyValue[]>]: Custom properties for the set. [Relations <IMicrosoftGraphTermStoreRelation[]>]: Indicates which terms have been pinned or reused directly under the set. [Terms <IMicrosoftGraphTermStoreTerm[]>]: All the terms under the set.

INPUTOBJECT <ISitesIdentity>: Identity Parameter [BaseItemId <String>]: The unique identifier of baseItem [BaseSitePageId <String>]: The unique identifier of baseSitePage [ColumnDefinitionId <String>]: The unique identifier of columnDefinition [ColumnLinkId <String>]: The unique identifier of columnLink [ContentTypeId <String>]: The unique identifier of contentType [ContentTypeId1 <String>]: The unique identifier of contentType [DocumentSetVersionId <String>]: The unique identifier of documentSetVersion [DriveId <String>]: The unique identifier of drive [EndDateTime <String>]: Usage: endDateTime='{endDateTime}' [GroupId <String>]: The unique identifier of group [GroupId1 <String>]: The unique identifier of group [HorizontalSectionColumnId <String>]: The unique identifier of horizontalSectionColumn [HorizontalSectionId <String>]: The unique identifier of horizontalSection [IncludePersonalNotebooks <Boolean?>]: Usage: includePersonalNotebooks={includePersonalNotebooks} [Interval <String>]: Usage: interval='{interval}' [ItemActivityId <String>]: The unique identifier of itemActivity [ItemActivityStatId <String>]: The unique identifier of itemActivityStat [ListId <String>]: The unique identifier of list [ListItemId <String>]: The unique identifier of listItem [ListItemVersionId <String>]: The unique identifier of listItemVersion [NotebookId <String>]: The unique identifier of notebook [OnenoteOperationId <String>]: The unique identifier of onenoteOperation [OnenotePageId <String>]: The unique identifier of onenotePage [OnenoteResourceId <String>]: The unique identifier of onenoteResource [OnenoteSectionId <String>]: The unique identifier of onenoteSection [Path <String>]: Usage: path='{path}' [PermissionId <String>]: The unique identifier of permission [RelationId <String>]: The unique identifier of relation [RichLongRunningOperationId <String>]: The unique identifier of richLongRunningOperation [SectionGroupId <String>]: The unique identifier of sectionGroup [SectionGroupId1 <String>]: The unique identifier of sectionGroup [SetId <String>]: The unique identifier of set [SetId1 <String>]: The unique identifier of set [SiteId <String>]: The unique identifier of site [SiteId1 <String>]: The unique identifier of site [StartDateTime <String>]: Usage: startDateTime='{startDateTime}' [StoreId <String>]: The unique identifier of store [SubscriptionId <String>]: The unique identifier of subscription [TermId <String>]: The unique identifier of term [TermId1 <String>]: The unique identifier of term [Token <String>]: Usage: token='{token}' [UserId <String>]: The unique identifier of user [WebPartId <String>]: The unique identifier of webPart

SETS <IMicrosoftGraphTermStoreSet[]>: Collection of all sets available in the term store. This relationship can only be used to load a specific term set. [Id <String>]: The unique identifier for an entity. Read-only. [Children <IMicrosoftGraphTermStoreTerm[]>]: Children terms of set in term [store]. [Id <String>]: The unique identifier for an entity. Read-only. [Children <IMicrosoftGraphTermStoreTerm[]>]: Children of current term. [CreatedDateTime <DateTime?>]: Date and time of term creation. Read-only. [Descriptions <IMicrosoftGraphTermStoreLocalizedDescription[]>]: Description about term that is dependent on the languageTag. [Description <String>]: The description in the localized language. [LanguageTag <String>]: The language tag for the label. [Labels <IMicrosoftGraphTermStoreLocalizedLabel[]>]: Label metadata for a term. [IsDefault <Boolean?>]: Indicates whether the label is the default label. [LanguageTag <String>]: The language tag for the label. [Name <String>]: The name of the label. [LastModifiedDateTime <DateTime?>]: Last date and time of term modification. Read-only. [Properties <IMicrosoftGraphKeyValue[]>]: Collection of properties on the term. [Key <String>]: Key for the key-value pair. [Value <String>]: Value for the key-value pair. [Relations <IMicrosoftGraphTermStoreRelation[]>]: To indicate which terms are related to the current term as either pinned or reused. [Id <String>]: The unique identifier for an entity. Read-only. [FromTerm <IMicrosoftGraphTermStoreTerm>]: term [Relationship <String>]: relationType [Set <IMicrosoftGraphTermStoreSet>]: set [ToTerm <IMicrosoftGraphTermStoreTerm>]: term [Set <IMicrosoftGraphTermStoreSet>]: set [CreatedDateTime <DateTime?>]: Date and time of set creation. Read-only. [Description <String>]: Description that gives details on the term usage. [LocalizedNames <IMicrosoftGraphTermStoreLocalizedName[]>]: Name of the set for each languageTag. [LanguageTag <String>]: The language tag for the label. [Name <String>]: The name in the localized language. [ParentGroup <IMicrosoftGraphTermStoreGroup>]: group [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [CreatedDateTime <DateTime?>]: Date and time of the group creation. Read-only. [Description <String>]: Description that gives details on the term usage. [DisplayName <String>]: Name of the group. [ParentSiteId <String>]: ID of the parent site of this group. [Scope <String>]: termGroupScope [Sets <IMicrosoftGraphTermStoreSet[]>]: All sets under the group in a term [store]. [Properties <IMicrosoftGraphKeyValue[]>]: Custom properties for the set. [Relations <IMicrosoftGraphTermStoreRelation[]>]: Indicates which terms have been pinned or reused directly under the set. [Terms <IMicrosoftGraphTermStoreTerm[]>]: All the terms under the set.