Table of Contents

New-PnPSiteCollectionTermStore

SYNOPSIS

Creates the site collection term store if it doesn't exist yet or if it does it will return the already existing site collection term store

SYNTAX

New-PnPSiteCollectionTermStore [-Connection <PnPConnection>] 

DESCRIPTION

The site collection scoped term store will be created if it does not exist yet. If it does already exist for the currently connected to site collection, it will return the existing instance.

EXAMPLES

EXAMPLE 1

New-PnPSiteCollectionTermStore

Returns the site collection term store by creating it if it doesn't exist yet or returning the existing instance if it does

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

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

Microsoft 365 Patterns and Practices