Get-PnPTenantCdnPolicies

Returns the CDN Policies for the specified CDN (Public | Private).

Syntax

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

Description

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

Examples

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

Get-PnPTenantCdnPolicies -CdnType Public

Returns the policies for the specified CDN type

Parameters

-CdnType

The type of cdn to retrieve the policies 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