external help file | applicable | schema |
---|---|---|
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online |
2.0.0 |
Returns a taxonomy term group
Get-PnPTermGroup [-TermStore <Id, Name or Object>]
[-Includes <String[]>]
[-Identity <Id, Title or TaxonomyItem>]
[-Connection <SPOnlineConnection>]
PS:> Get-PnPTermGroup
Returns all Term Groups in the site collection termstore
PS:> Get-PnPTermGroup -Identity "Departments"
Returns the termgroup named "Departments" from the site collection termstore
PS:> Get-PnPTermGroup -Identity ab2af486-e097-4b4a-9444-527b251f1f8d
Returns the termgroup with the given ID from the site collection termstore
Name of the taxonomy term group to retrieve.
Type: Id, Title or TaxonomyItem
Parameter Sets: (All)
Aliases: GroupName
Required: False
Position: 0
Accept pipeline input: True
Specify properties to include when retrieving objects from the server.
Type: String[]
Parameter Sets:
Required: False
Position: 0
Accept pipeline input: False
Term store to check; if not specified the default term store is used.
Type: Id, Name or Object
Parameter Sets: (All)
Aliases: TermStoreName
Required: False
Position: Named
Accept pipeline input: False
Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: SPOnlineConnection
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False