Set-PnPTenantCdnEnabled

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

Syntax

Set-PnPTenantCdnEnabled
   -Enable <Boolean>
                          -CdnType <CdnType>
                          [-Connection <SPOnlineConnection>]

Description

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

Examples

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

Set-PnPTenantCdnEnabled -CdnType Public -Enable $true

This example sets the Public CDN enabled.

Parameters

-CdnType

The type of cdn to enable or disable

Type:CdnType
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
-Enable

Specify to enable or disable

Type:Boolean
Position:Named
Accept pipeline input:False
Accept wildcard characters:False