Get-PnPTenantCdnEnabled

Retrieves if the Office 365 Content Delivery Network has been enabled.

Syntax

Get-PnPTenantCdnEnabled
   -CdnType <SPOTenantCdnType>
                          [-Connection <SPOnlineConnection>]

Description

Enables or disabled the public or private Office 365 Content Delivery Network (CDN).

Examples

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

Get-PnPTenantCdnEnabled -CdnType Public

Returns the enabled status of the specified CDN

Parameters

-CdnType

The type of cdn to retrieve the origins from

Type:SPOTenantCdnType
Position:Named
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:SPOnlineConnection
Position:Named
Accept pipeline input:False
Accept wildcard characters:False