Skip to content

Latest commit

 

History

History
89 lines (63 loc) · 1.83 KB

Remove-PnPTenantCdnOrigin.md

File metadata and controls

89 lines (63 loc) · 1.83 KB
Module Name title schema applicable external help file online version
PnP.PowerShell
Remove-PnPTenantCdnOrigin
2.0.0
SharePoint Online
PnP.PowerShell.dll-Help.xml

Remove-PnPTenantCdnOrigin

SYNOPSIS

Required Permissions

  • SharePoint: Access to the SharePoint Tenant Administration site

Removes an origin from the Public or Private content delivery network (CDN).

SYNTAX

Remove-PnPTenantCdnOrigin -OriginUrl <String> -CdnType <SPOTenantCdnType> [-Connection <PnPConnection>]
 

DESCRIPTION

Removes an origin from the Public or Private content delivery network (CDN).

You must be a SharePoint Online Administrator to run the cmdlet.

EXAMPLES

EXAMPLE 1

Remove-PnPTenantCdnOrigin -OriginUrl /sites/site/subfolder -CdnType Public

This example removes the specified origin from the public CDN.

PARAMETERS

-CdnType

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

-Connection

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

-OriginUrl

The origin to remove.

Type: String
Parameter Sets: (All)

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

RELATED LINKS

Microsoft 365 Patterns and Practices