Get-PnPTenantCdnPolicies

Tip

We encourage you to make improvements to this documentation. Please navigate to https://github.com/pnp/powershell/blob/dev/documentation/Get-PnPTenantCdnPolicies.md to change this file.

Required Permissions

  • SharePoint: Access to the SharePoint Tenant Administration site

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

Syntax

Get-PnPTenantCdnPolicies
   -CdnType <SPOTenantCdnType>
   [-Connection <PnPConnection>]
   [<CommonParameters>]

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
Accepted values:Public, Private
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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False