Edit

Share via


Get-SPOBuiltInSiteTemplateSettings

Get the current state of Microsoft-provided SharePoint site templates displayed or hidden in the site template gallery in your tenant.

Syntax

Default (Default)

Get-SPOBuiltInSiteTemplateSettings
    [[-Identity] <SPOBuiltInSiteTemplateSettingsPipeBind>]
    [<CommonParameters>]

Description

The Get-SPOBuiltInSiteTemplateSettings cmdlet displays the current state of Microsoft-provided SharePoint site templates displayed or hidden in the site template gallery in your tenant.

Note

  • All site templates are displayed by default. Learn more about SharePoint site templates
  • You must have SharePoint admin credentials (or higher) to use SharePoint PowerShell.
  • The minimum SharePoint PowerShell version required is 16.0.21610.12000.
  • For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at Intro to SharePoint Online Management Shell.

Examples

Check which Microsoft templates are hidden

This example checks what Microsoft-provided SharePoint site templates are currently hidden from the site template gallery.

Get-SPOBuiltInSiteTemplateSettings

Note

If a site template has never been hidden, it will not show up in the list. If a site template has been hidden, then changed back to displayed (i.e. currently set to True), then it will show up in the list.

Parameters

-Identity

Specifies the ID for the site template if you'd like to filter results.

Parameter properties

Type:Microsoft.Online.SharePoint.PowerShell.SPOBuiltInSiteTemplateSettingsPipeBind
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Online.SharePoint.PowerShell.SPOBuiltInSiteTemplateSettingsPipeBind

Outputs

System.Object