Set-SPOBuiltInDesignPackageVisibility
设置网站创建时可用内置设计包的可见性。
Set-SPOBuiltInDesignPackageVisibility
[-IsVisible] <Boolean>
[-DesignPackage] <DesignPackageType>
[<CommonParameters>]
设置可用内置设计包的可见性。 有关详细信息,请参阅 从发布网站移动到通信网站
Set-SPOBuiltInDesignPackageVisibility -DesignPackage Showcase -IsVisible:$false
本示例将展示设计包的可见性设置为 false。
设计包的名称,可用名称为
- 主题
- 展示
- 空白
- TeamSite
Type: | DesignPackageType |
Accepted values: | None, Topic, Showcase, Blank, TeamSite |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
确定设计包是否可见
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
None
System.Object