Read-PnPProvisioningTemplate

Loads/Reads a PnP file from the file system

Syntax

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

Examples

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

Read-PnPProvisioningTemplate -Path template.pnp

Loads a PnP file from the file systems

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

Read-PnPProvisioningTemplate -Path template.pnp -TemplateProviderExtensions $extensions

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

Required Parameters

-Path

Filename to read from, optionally including full path.

Type:String
Position:0
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-TemplateProviderExtensions

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

Type:ITemplateProviderExtension[]
Position:Named
Accept pipeline input:False
Accept wildcard characters:False