Edit

Share via


Get-SPOWebTemplate

Displays all site templates that match the given identity.

Syntax

Default (Default)

Get-SPOWebTemplate
    [[-LocaleId] <UInt32>]
    [-CompatibilityLevel <Int32>]
    [-Name <String>]
    [-Title <String>]
    [<CommonParameters>]

Description

The Get-SPOWebTemplate cmdlet displays all site templates that match the given identity and are available in SharePoint Online.

You must be at least a SharePoint Online administrator to run the cmdlet.

For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at Intro to SharePoint Online Management Shell.

Examples

EXAMPLE 1

Get-SPOWebTemplate

Example 1 returns all the site templates in the language of the administrator site.

EXAMPLE 2

Get-SPOWebTemplate -LocaleID 1036

Example 2 returns a list of all the French site templates.

Parameters

-CompatibilityLevel

Applicable: SharePoint Online

Specifies the compatibility level of the site template.

Parameter properties

Type:System.Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LocaleId

Applicable: SharePoint Online

Specifies the Locale ID of the site template.

Parameter properties

Type:System.UInt32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Applicable: SharePoint Online

Specifies the name of the site template.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Title

Applicable: SharePoint Online

Specifies the Locale ID of the site template.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object