external help file | applicable | schema |
---|---|---|
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online |
2.0.0 |
Returns a taxonomy term set
Get-PnPTermSet -TermGroup <Id, Title or TermGroup>
[-Identity <Id, Name or Object>]
[-TermStore <Id, Name or Object>]
[-Includes <String[]>]
[-Connection <SPOnlineConnection>]
PS:> Get-PnPTermSet -TermGroup "Corporate"
Returns all termsets in the group "Corporate" from the site collection termstore
PS:> Get-PnPTermSet -Identity "Departments" -TermGroup "Corporate"
Returns the termset named "Departments" from the termgroup called "Corporate" from the site collection termstore
PS:> Get-PnPTermSet -Identity ab2af486-e097-4b4a-9444-527b251f1f8d -TermGroup "Corporate
Returns the termset with the given id from the termgroup called "Corporate" from the site collection termstore
The Id or Name of a termset
Type: Id, Name or Object
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
Specify properties to include when retrieving objects from the server.
Type: String[]
Parameter Sets:
Required: False
Position: 0
Accept pipeline input: False
Name of the term group to check.
Type: Id, Title or TermGroup
Parameter Sets: (All)
Required: True
Position: 0
Accept pipeline input: True
Term store to check; if not specified the default term store is used.
Type: Id, Name or Object
Parameter Sets: (All)
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