external help file | applicable | schema |
---|---|---|
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online |
2.0.0 |
Removes a file from a PnP Provisioning Template
Remove-PnPFileFromProvisioningTemplate -Path <String>
-FilePath <String>
[-TemplateProviderExtensions <ITemplateProviderExtension[]>]
PS:> Remove-PnPFileFromProvisioningTemplate -Path template.pnp -FilePath filePath
Removes a file from an in-memory PnP Provisioning Template
The relative File Path of the file to remove from the in-memory template
Type: String
Parameter Sets: (All)
Required: True
Position: 1
Accept pipeline input: False
Filename to read the template from, optionally including full path.
Type: String
Parameter Sets: (All)
Required: True
Position: 0
Accept pipeline input: False
Allows you to specify ITemplateProviderExtension to execute while saving the template.
Type: ITemplateProviderExtension[]
Parameter Sets: (All)
Required: False
Position: 2
Accept pipeline input: False