Use Windows PowerShell cmdlets for content delivery network (CDN)

 

Applies to: SharePoint Online

Topic Last Modified: 2017-04-24

Summary: Learn about the Windows PowerShell cmdlets that you can use to manage a content delivery network (CDN) in a SharePoint Online organization.

 

Cmdlet name Description

Get-SPOTenantCdnEnabled

Returns whether Public content delivery network (CDN) or Private CDN is enabled on the tenant level.

Set-SPOTenantCdnEnabled

Enables or disables Public content delivery network (CDN) or Private CDN on the tenant level.

Add-SPOTenantCdnOrigin

Configures a new origin to Public or Private content delivery network (CDN).

Remove-SPOTenantCdnOrigin

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

Get-SPOTenantCdnOrigins

Lists all the configured origins under the tenancy or under a given site.

Get-SPOTenantCdnPolicies

Returns the content delivery network (CDN) policies from a tenant level.

Set-SPOTenantCdnPolicy

Sets the content delivery network (CDN) policies from the tenant level.

Show: