external help file | applicable | schema |
---|---|---|
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online |
2.0.0 |
Creates a taxonomy term
New-PnPTerm -Name <String>
-TermGroup <Id, Title or TermGroup>
-TermSet <Id, Title or TaxonomyItem>
[-Id <Guid>]
[-Lcid <Int>]
[-Description <String>]
[-CustomProperties <Hashtable>]
[-LocalCustomProperties <Hashtable>]
[-TermStore <Id, Name or Object>]
[-Connection <SPOnlineConnection>]
PS:> New-PnPTerm -TermSet "Departments" -TermGroup "Corporate" -Name "Finance"
Creates a new taxonomy term named "Finance" in the termset Departments which is located in the "Corporate" termgroup
Custom Properties
Type: Hashtable
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
Descriptive text to help users understand the intended use of this term.
Type: String
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
The Id to use for the term; if not specified, or the empty GUID, a random GUID is generated and used.
Type: Guid
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
The locale id to use for the term. Defaults to the current locale id.
Type: Int
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
Custom Properties
Type: Hashtable
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
The name of the term.
Type: String
Parameter Sets: (All)
Required: True
Position: Named
Accept pipeline input: True
The termgroup to create the term in.
Type: Id, Title or TermGroup
Parameter Sets: (All)
Required: True
Position: Named
Accept pipeline input: True
The termset to add the term to.
Type: Id, Title or TaxonomyItem
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)
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