Search Results for

    Show / Hide 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
    

    -WhatIf

    Shows what would happen if the cmdlet runs. The cmdlet is not run.

    Type: SwitchParameter
    Parameter Sets: (All)
    Aliases: wi
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    RELATED LINKS

    Microsoft 365 Patterns and Practices

    Back to top Generated by DocFX spacer