Save-PnPTenantTemplate

Saves a PnP provisioning hierarchy to the file system

Syntax

Save-PnPTenantTemplate
    -Template <ProvisioningHierarchy>
                          -Out <String>
                          [-Force [<SwitchParameter>]]

Examples

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

Save-PnPTenantTemplate -Template $template -Out .\hierarchy.pnp

Saves a PnP tenant template to the file system

Parameters

-Force

Specifying the Force parameter will skip the confirmation question.

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

Filename to write to, optionally including full path.

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

Allows you to provide an in-memory instance of a Tenant Template. When using this parameter, the -Out parameter refers to the path for saving the template and storing any supporting file for the template.

Type:ProvisioningHierarchy
Aliases:Hierarchy
Position:Named
Accept pipeline input:False
Accept wildcard characters:False