Skip to content

Commit d800c59

Browse files
Merge pull request #4569 from wilecoyotegenius/modify-new-pnptermlabel-documentation
Update of documentation for New-PnPTermLabel cmdlet
2 parents 0a16bb2 + 818c774 commit d800c59

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

documentation/New-PnPTermLabel.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ New-PnPTermLabel -Term <TaxonomyTermPipeBind> -Name <String> -Lcid <Int32> [-IsD
2020
```
2121

2222
## DESCRIPTION
23-
Creates a localized label for a taxonomy term. Use Get-PnPTerm -Include Labels to request the current labels on a taxonomy term.
23+
Creates a localized label for a taxonomy term. Use Get-PnPTerm -Include Labels to request the current labels on a taxonomy term. Setting `-IsDefault:$false`, will make a new label a synonym.
2424

2525
## EXAMPLES
2626

@@ -38,6 +38,13 @@ Get-PnPTerm -Identity "Finance" -TermSet "Departments" -TermGroup "Corporate" |
3838

3939
Creates a new localized taxonomy label in German (LCID 1031) named "Finanzwesen" for the term "Finance" in the termset Departments which is located in the "Corporate" termgroup
4040

41+
### EXAMPLE 3
42+
```powershell
43+
Get-PnPTerm -Identity "Finance" -TermSet "Departments" -TermGroup "Corporate" | New-PnPTermLabel -Name "Finanzwesen" -Lcid 1031 -IsDefault:$false
44+
```
45+
46+
Creates a new localized taxonomy label in German (LCID 1031) named "Finanzwesen" for the term "Finance" in the termset Departments which is located in the "Corporate" termgroup and make it a synonym.
47+
4148
## PARAMETERS
4249

4350
### -IsDefault

0 commit comments

Comments
 (0)