Commands › SharePoint Online
Get-SPOWebTemplate
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)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.