Convert-PnPFolderToSiteTemplate
SYNOPSIS
Creates a pnp package file of an existing template xml, and includes all files in the current folder
SYNTAX
Convert-PnPFolderToSiteTemplate [-Out] <String> [[-Folder] <String>] [-Force]
DESCRIPTION
Allows to convert the current folder together with all files, to a pnp package file of and existing template xml.
EXAMPLES
EXAMPLE 1
Convert-PnPFolderToSiteTemplate -Out template.pnp
Creates a pnp package file of an existing template xml, and includes all files in the current folder
EXAMPLE 2
Convert-PnPFolderToSiteTemplate -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
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Force
Overwrites the output file if it exists.
Type: SwitchParameter
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Out
Filename to write to, optionally including full path.
Type: String
Parameter Sets: (All)
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False