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

Load-PnPProvisioningTemplate

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

Loads a PnP file from the file systems

Syntax

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

Parameters

ParameterTypeRequiredDescription
PathStringTrueFilename to read from, optionally including full path.
TemplateProviderExtensionsITemplateProviderExtension[]FalseAllows you to specify ITemplateProviderExtension to execute while loading the template.

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.

© 2017 Microsoft