Module Name | title | schema | applicable | external help file | online version |
---|---|---|---|---|---|
PnP.PowerShell |
Remove-PnPTenantCdnOrigin |
2.0.0 |
SharePoint Online |
PnP.PowerShell.dll-Help.xml |
Required Permissions
- SharePoint: Access to the SharePoint Tenant Administration site
Removes an origin from the Public or Private content delivery network (CDN).
Remove-PnPTenantCdnOrigin -OriginUrl <String> -CdnType <SPOTenantCdnType> [-Connection <PnPConnection>]
Removes an origin from the Public or Private content delivery network (CDN).
You must be a SharePoint Online Administrator to run the cmdlet.
Remove-PnPTenantCdnOrigin -OriginUrl /sites/site/subfolder -CdnType Public
This example removes the specified origin from the public CDN.
The cdn type to remove the origin from.
Type: SPOTenantCdnType
Parameter Sets: (All)
Accepted values: Public, Private
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: PnPConnection
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The origin to remove.
Type: String
Parameter Sets: (All)
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False