Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.18 KB

SavePnPProvisioningTemplate.md

File metadata and controls

25 lines (22 loc) · 1.18 KB

#Save-PnPProvisioningTemplate Saves a PnP file to the file systems ##Syntax

Save-PnPProvisioningTemplate -InputInstance <ProvisioningTemplate>
                             [-Force [<SwitchParameter>]]
                             [-TemplateProviderExtensions <ITemplateProviderExtension[]>]
                             -Out <String>

##Parameters

Parameter Type Required Description
Force SwitchParameter False Specifying the Force parameter will skip the confirmation question.
InputInstance ProvisioningTemplate True Allows you to provide an in-memory instance of the ProvisioningTemplate type of the PnP Core Component. When using this parameter, the -Out parameter refers to the path for saving the template and storing any supporting file for the template.
Out String True Filename to write to, optionally including full path.
TemplateProviderExtensions ITemplateProviderExtension[] False Allows you to specify the ITemplateProviderExtension to execute while saving a template.
##Examples

###Example 1

PS:> Save-PnPProvisioningTemplate -InputInstance $template -Out .\template.pnp

Saves a PnP file to the file systems