Skip to content

Latest commit

 

History

History
82 lines (56 loc) · 3.06 KB

File metadata and controls

82 lines (56 loc) · 3.06 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/Get-SPOBuiltInSiteTemplateSettings
applicable SharePoint Online
title Get-SPOBuiltInSiteTemplateSettings
schema 2.0.0
author Holland-ODSP
ms.author hokavian
ms.reviewer

Get-SPOBuiltInSiteTemplateSettings

SYNOPSIS

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

SYNTAX

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.

Type: Microsoft.Online.SharePoint.PowerShell.SPOBuiltInSiteTemplateSettingsPipeBind
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

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

INPUTS

Microsoft.Online.SharePoint.PowerShell.SPOBuiltInSiteTemplateSettingsPipeBind

OUTPUTS

System.Object

NOTES

RELATED LINKS

Set-SPOBuiltInSiteTemplateSettings

Apply and customize SharePoint sites