You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.
$term = Get-PnPTerm -Identity "Projects" -TermSet "Channels" -TermGroup "Intranet"
This works but when I execute this
$term = Get-PnPTerm -Identity "Projects" -TermSet "Channels" -TermGroup "Intranet" -Include Labels
I get this
Get-PnPTerm : A positional parameter cannot be found that accepts argument 'Labels'.
At line:1 char:9
This looks to be a documentation error. -Includes Labels seems to work. Note the "s" on -Includes.
Tried it, doesn't work
$term = Get-PnPTerm -Identity "Projects" -TermSet "Channels" -TermGroup "Intranet" -Includes Labels
Get-PnPTerm : Specified argument was out of the range of valid values.
Parameter name: index
At line:1 char:9
I am trying to retrieve the labels for a specific term as described in the docs, example 5
https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/get-pnpterm?view=sharepoint-ps
Actual behavior
$term = Get-PnPTerm -Identity "Projects" -TermSet "Channels" -TermGroup "Intranet"
This works but when I execute this
$term = Get-PnPTerm -Identity "Projects" -TermSet "Channels" -TermGroup "Intranet" -Include Labels
I get this
Get-PnPTerm : A positional parameter cannot be found that accepts argument 'Labels'.
At line:1 char:9
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
SharePointPnPPowerShellOnline 3.26.2010.0
How did you install the PnP-PowerShell Cmdlets?
The text was updated successfully, but these errors were encountered: