Skip to content

Latest commit

 

History

History
75 lines (55 loc) · 1.58 KB

Convert-PnPFolderToProvisioningTemplate.md

File metadata and controls

75 lines (55 loc) · 1.58 KB
external help file applicable schema
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
2.0.0

Convert-PnPFolderToProvisioningTemplate

SYNOPSIS

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------------------

PS:> 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------------------

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

PARAMETERS

-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

-Force

Overwrites the output file if it exists.

Type: SwitchParameter
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

-Out

Filename to write to, optionally including full path.

Type: String
Parameter Sets: (All)

Required: True
Position: 0
Accept pipeline input: False

RELATED LINKS

SharePoint Developer Patterns and Practices