Convert-PnPFolderToProvisioningTemplate

Creates a pnp package file of an existing template xml, and includes all files in the current folder

Syntax

Convert-PnPFolderToProvisioningTemplate
       -Out <String>
                                              [-Force [<SwitchParameter>]]
                                              [-Folder <String>]

Examples

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

Convert-PnPFolderToProvisioningTemplate -Out template.pnp

Creates a pnp package file of an existing template xml, and includes all files in the current folder

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

Convert-PnPFolderToProvisioningTemplate -Out template.pnp -Folder c:\temp

Creates a pnp package file of an existing template xml, and includes all files in the c:\temp folder

Required Parameters

-Out

Filename to write to, optionally including full path.

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

Optional Parameters

-Folder

Folder to process. If not specified the current folder will be used.

Type:String
Position:1
Accept pipeline input:False
Accept wildcard characters:False
-Force

Overwrites the output file if it exists.

Type:SwitchParameter
Position:Named
Accept pipeline input:False
Accept wildcard characters:False