Commands › SharePoint Online
Get-SPOContainerType
Returns one or more container types created in the tenant.
Quick start script
# Get-SPOContainerType — 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-SPOContainerType | Format-List
# 3. Export for evidence / drift tracking
Get-SPOContainerType | Export-Clixml .\SPOContainerType-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-SPOContainerType [[-ContainerTypeId] <Guid>] [<CommonParameters>]
Parameters (1)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.