New-PnPTermGroup
Syntax
New-PnPTermGroup
-Name <String>
[-Id <Guid>]
[-Description <String>]
[-TermStore <Id, Name or Object>]
[-Connection <SPOnlineConnection>]
Examples
------------------EXAMPLE 1------------------
New-PnPTermGroup -GroupName "Countries"
Creates a new taxonomy term group named "Countries"
Required Parameters
Name of the taxonomy term group to create.
Type: | String |
Aliases: | GroupName |
Position: | Named |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Optional Parameters
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: | SPOnlineConnection |
Position: | Named |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Description to use for the term group.
Type: | String |
Position: | Named |
Accept pipeline input: | False |
Accept wildcard characters: | False |
GUID to use for the term group; if not specified, or the empty GUID, a random GUID is generated and used.
Type: | Guid |
Aliases: | GroupId |
Position: | Named |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Term store to add the group to; if not specified the default term store is used.
Type: | Id, Name or Object |
Aliases: | TermStoreName |
Position: | Named |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Microsoft.SharePoint.Client.Taxonomy.TermGroup
Related Links
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...