Set-PnPBuiltInDesignPackageVisibility
SYNOPSIS
Sets the visibility of the available built-in Design Packages at the moment of site creation.
SYNTAX
Set-PnPBuiltInDesignPackageVisibility [-IsVisible] <Boolean> [-DesignPackage] <DesignPackageType> [-Connection <PnPConnection>]
DESCRIPTION
Sets the visibility of the available built-in Design Packages.
EXAMPLES
EXAMPLE 1
Set-PnPBuiltInDesignPackageVisibility -DesignPackage Showcase -IsVisible:$false
This example sets the visibility state of Showcase built-in design package to false.
EXAMPLE 2
Set-PnPBuiltInDesignPackageVisibility -DesignPackage TeamSite -IsVisible:$true
This example sets the visibility state of TeamSite design package to true.
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
-DesignPackage
Name of the design package, available names are
- Topic
- Showcase
- Blank
- TeamSite
Type: DesignPackageType
Parameter Sets: (All)
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-IsVisible
Sets the visibility of the design package.
Type: Boolean
Parameter Sets: (All)
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False