Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 1.31 KB

Load-PnPProvisioningTemplate.md

File metadata and controls

62 lines (45 loc) · 1.31 KB
external help file applicable schema
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
2.0.0

Load-PnPProvisioningTemplate

SYNOPSIS

Loads a PnP file from the file systems

SYNTAX

Load-PnPProvisioningTemplate -Path <String>
                             [-TemplateProviderExtensions <ITemplateProviderExtension[]>]

EXAMPLES

------------------EXAMPLE 1------------------

PS:> Load-PnPProvisioningTemplate -Path template.pnp

Loads a PnP file from the file systems

------------------EXAMPLE 2------------------

PS:> Load-PnPProvisioningTemplate -Path template.pnp -TemplateProviderExtensions $extensions

Loads a PnP file from the file systems using some custom template provider extenions while loading the file.

PARAMETERS

-Path

Filename to read from, optionally including full path.

Type: String
Parameter Sets: (All)

Required: True
Position: 0
Accept pipeline input: False

-TemplateProviderExtensions

Allows you to specify ITemplateProviderExtension to execute while loading the template.

Type: ITemplateProviderExtension[]
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

RELATED LINKS

SharePoint Developer Patterns and Practices