Commands › SharePoint Online

Get-SPOWebTemplate

SharePoint Online Microsoft.Online.SharePoint.PowerShell Get-*

Displays all site templates that match the given identity.

Quick start script

# Get-SPOWebTemplate — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com

# 2. Run and inspect
Get-SPOWebTemplate | Format-List

# 3. Export for evidence / drift tracking
Get-SPOWebTemplate | Export-Clixml .\SPOWebTemplate-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-SPOWebTemplate [[-LocaleId] <UInt32>] [-CompatibilityLevel <Int32>] [-Name <String>] [-Title <String>]
 [<CommonParameters>]

Parameters (4)

ParameterTypeRequiredWhat it controls
-CompatibilityLevel Int32 Specifies the compatibility level of the site template.
-LocaleId UInt32 Specifies the Locale ID of the site template.
-Name String Specifies the name of the site template.
-Title String Specifies the Locale ID of the site template.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.