external help file | applicable | schema |
---|---|---|
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online |
2.0.0 |
Creates a pnp package file of an existing template xml, and includes all files in the current folder
Convert-PnPFolderToProvisioningTemplate -Out <String>
[-Force [<SwitchParameter>]]
[-Folder <String>]
PS:> Convert-PnPFolderToProvisioningTemplate -Out template.pnp
Creates a pnp package file of an existing template xml, and includes all files in the current folder
PS:> 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
Folder to process. If not specified the current folder will be used.
Type: String
Parameter Sets: (All)
Required: False
Position: 1
Accept pipeline input: False
Overwrites the output file if it exists.
Type: SwitchParameter
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
Filename to write to, optionally including full path.
Type: String
Parameter Sets: (All)
Required: True
Position: 0
Accept pipeline input: False