Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 959 Bytes

GetPnPWebTemplates.md

File metadata and controls

36 lines (29 loc) · 959 Bytes

#Get-PnPWebTemplates Office365 only: Returns the available web templates. ##Syntax

Get-PnPWebTemplates [-Lcid <UInt32>]
                    [-CompatibilityLevel <Int32>]

##Returns

Microsoft.Online.SharePoint.TenantAdministration.SPOTenantWebTemplateCollection

##Parameters

Parameter Type Required Description
CompatibilityLevel Int32 False The version of SharePoint
Lcid UInt32 False The language ID. For instance: 1033 for English
##Examples

###Example 1

PS:> Get-PnPWebTemplates

###Example 2

PS:> Get-PnPWebTemplates -LCID 1033

Returns all webtemplates for the Locale with ID 1033 (English)

###Example 3

PS:> Get-PnPWebTemplates -CompatibilityLevel 15

Returns all webtemplates for the compatibility level 15