Muokkaa

Jaa


Get-SPOWebTemplate

Displays all site templates that match the given identity.

Syntax

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

Specifies the compatibility level of the site template.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-LocaleId

Specifies the Locale ID of the site template.

Type:UInt32
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-Name

Specifies the name of the site template.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-Title

Specifies the Locale ID of the site template.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

Inputs

None

Outputs

System.Object