Table of contents
TOC
Collapse the table of content
Expand the table of content

Get-PnPWebTemplates

Bert Jansen|Last Updated: 2/20/2017
|
1 Contributor

Office365 only: Returns the available web templates.

Syntax

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

Returns

Microsoft.Online.SharePoint.TenantAdministration.SPOTenantWebTemplateCollection

Parameters

ParameterTypeRequiredDescription
CompatibilityLevelIntFalseThe version of SharePoint
LcidUInt32FalseThe 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

© 2017 Microsoft