external help file | applicable | schema |
---|---|---|
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online |
2.0.0 |
Retrieves or searches provisioning templates from the PnP Template Gallery
Get-PnPProvisioningTemplateFromGallery [-Identity <Guid>]
[-Path <String>]
[-Force [<SwitchParameter>]]
Get-PnPProvisioningTemplateFromGallery [-Search <String>]
[-TargetPlatform <TargetPlatform>]
[-TargetScope <TargetScope>]
Get-PnPProvisioningTemplateFromGallery
Retrieves all templates from the gallery
Get-PnPProvisioningTemplateFromGallery -Search "Data"
Searches for a templates containing the word 'Data' in the Display Name
Get-PnPProvisioningTemplateFromGallery -Identity ae925674-8aa6-438b-acd0-d2699a022edd
Retrieves a template with the specified ID
$template = Get-PnPProvisioningTemplateFromGallery -Identity ae925674-8aa6-438b-acd0-d2699a022edd
Apply-PnPProvisioningTemplate -InputInstance $template
Retrieves a template with the specified ID and applies it to the site.
$template = Get-PnPProvisioningTemplateFromGallery -Identity ae925674-8aa6-438b-acd0-d2699a022edd -Path c:\temp
Retrieves a template with the specified ID and saves the template to the specified path
Type: SwitchParameter
Parameter Sets: Identity
Required: False
Position: Named
Accept pipeline input: False
Type: Guid
Parameter Sets: Identity
Required: False
Position: Named
Accept pipeline input: False
Type: String
Parameter Sets: Identity
Required: False
Position: Named
Accept pipeline input: False
Type: String
Parameter Sets: Search
Required: False
Position: Named
Accept pipeline input: False
Type: TargetPlatform
Parameter Sets: Search
Required: False
Position: Named
Accept pipeline input: False
Type: TargetScope
Parameter Sets: Search
Required: False
Position: Named
Accept pipeline input: False