New-PnPTermGroup

Creates a taxonomy term group

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

Name of the taxonomy term group to create.

Type:String
Aliases:GroupName
Position:Named
Accept pipeline input:True
Accept wildcard characters:False

Optional Parameters

-Connection

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

Description to use for the term group.

Type:String
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Id

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
-TermStore

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