Table of Contents

Get-PnPTaxonomyItem

SYNOPSIS

Returns a taxonomy item

SYNTAX

Get-PnPTaxonomyItem [-TermPath] <String> [-Connection <PnPConnection>]  
 

DESCRIPTION

Provide the term path only and then the term item if found will be returned.

EXAMPLES

EXAMPLE 1

Get-PnPTaxonomyItem -TermPath "My Term Group|My Term Set|Contoso"

Will return the taxonomy item for the term path specified.

PARAMETERS

-TermPath

The path, delimited by | of the taxonomy item to retrieve, alike GROUPLABEL|TERMSETLABEL|TERMLABEL

Type: String
Parameter Sets: (All)
Aliases: Term

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-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: PnPConnection
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Microsoft 365 Patterns and Practices