external help file | applicable | schema |
---|---|---|
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online |
2.0.0 |
Sets metadata of a provisioning template
Set-PnPProvisioningTemplateMetadata -Path <String>
[-TemplateDisplayName <String>]
[-TemplateImagePreviewUrl <String>]
[-TemplateProperties <Hashtable>]
[-TemplateProviderExtensions <ITemplateProviderExtension[]>]
[-Web <WebPipeBind>]
[-Connection <SPOnlineConnection>]
PS:> Set-PnPProvisioningTemplateMetadata -Path template.xml -TemplateDisplayName "DisplayNameValue"
Sets the DisplayName property of a provisioning template in XML format.
PS:> Set-PnPProvisioningTemplateMetadata -Path template.pnp -TemplateDisplayName "DisplayNameValue"
Sets the DisplayName property of a provisioning template in Office Open XML format.
PS:> Set-PnPProvisioningTemplateMetadata -Path template.xml -TemplateImagePreviewUrl "Full URL of the Image Preview"
Sets the Url to the preview image of a provisioning template in XML format.
PS:> Set-PnPProvisioningTemplateMetadata -Path template.pnp -TemplateImagePreviewUrl "Full URL of the Image Preview"
Sets the to the preview image of a provisioning template in Office Open XML format.
PS:> Set-PnPProvisioningTemplateMetadata -Path template.xml -TemplateProperties @{"Property1" = "Test Value 1"; "Property2"="Test Value 2"}
Sets the property 'Property1' to the value 'Test Value 1' of a provisioning template in XML format.
PS:> Set-PnPProvisioningTemplateMetadata -Path template.pnp -TemplateProperties @{"Property1" = "Test Value 1"; "Property2"="Test Value 2"}
Sets the property 'Property1' to the value 'Test Value 1' of a provisioning template in Office Open XML format.
Path to the xml or pnp file containing the provisioning template.
Type: String
Parameter Sets: (All)
Required: True
Position: 0
Accept pipeline input: True
It can be used to specify the DisplayName of the template file that will be updated.
Type: String
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
It can be used to specify the ImagePreviewUrl of the template file that will be updated.
Type: String
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
It can be used to specify custom Properties for the template file that will be updated.
Type: Hashtable
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
Allows you to specify ITemplateProviderExtension to execute while extracting a template.
Type: ITemplateProviderExtension[]
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: SPOnlineConnection
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
This parameter allows you to optionally apply the cmdlet action to a subweb within the current web. In most situations this parameter is not required and you can connect to the subweb using Connect-PnPOnline instead. Specify the GUID, server relative url (i.e. /sites/team1) or web instance of the web to apply the command to. Omit this parameter to use the current web.
Type: WebPipeBind
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False