Skip to content

Latest commit

 

History

History
89 lines (63 loc) · 1.85 KB

Get-PnPWebTemplates.md

File metadata and controls

89 lines (63 loc) · 1.85 KB
external help file applicable schema
SharePoint Online
2.0.0

Get-PnPWebTemplates

SYNOPSIS

Returns the available web templates.

SYNTAX

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

DESCRIPTION

Will list all available templates one can use to create a classic site.

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

PARAMETERS

-CompatibilityLevel

The version of SharePoint

Type: Int
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

-Lcid

The language ID. For instance: 1033 for English

Type: UInt32
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

-Connection

Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: SPOnlineConnection
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

OUTPUTS

RELATED LINKS

SharePoint Developer Patterns and PracticesLocale IDs