Table of Contents

Remove-PnPContainerType

SYNOPSIS

Required Permissions

  • SharePoint Embedded Administrator or Global Administrator role is required

The Remove-PnPContainerType cmdlet removes a trial Container Type from the SharePoint tenant. The Container Type to remove is specified by the Identity parameter.

SYNTAX

Remove-PnPContainerType [-Identity] <Guid> [-WhatIf] [-Confirm] [-Connection <PnPConnection>]

DESCRIPTION

EXAMPLES

EXAMPLE 1

Remove-PnPContainerType -Identity 00be1092-0c75-028a-18db-89e57908e7d6 

Removes the specified trial Container Type by using its id.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
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

-Identity

Specify the Container Type id.

Type: Guid
Parameter Sets: (All)

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
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

Microsoft 365 Patterns and Practices