Remove-PnPTermGroup

Removes a taxonomy term group and all its containing termsets

Syntax

Remove-PnPTermGroup
      -GroupName <String>
                         [-TermStoreName <String>]
                         [-Force [<SwitchParameter>]]
                         [-Connection <SPOnlineConnection>]

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
-Force
Type:SwitchParameter
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-GroupName

Name of the taxonomy term group to delete.

Type:String
Position:0
Accept pipeline input:True
Accept wildcard characters:False
-TermStoreName

Term store to use; if not specified the default term store is used.

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