Get-SPOTenantCdnEnabled

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

Syntax

Get-SPOTenantCdnEnabled
   -CdnType <SPOTenantCdnType>
   [<CommonParameters>]

Description

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

Examples

-----------------------EXAMPLE 1-----------------------------

Get-SPOTenantCdnEnabled -CdnType Public

The example returns a CDN with a type of public.

Parameters

-CdnType

Specifies the CDN type. The valid values are Public or Private.

Type:SPOTenantCdnType
Accepted values:Public, Private
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

Inputs

None

Outputs

System.Object