Get-PnPTenantCdnEnabled
SYNOPSIS
Required Permissions
- SharePoint: Access to the SharePoint Tenant Administration site
Retrieves if the Office 365 Content Delivery Network has been enabled.
SYNTAX
Get-PnPTenantCdnEnabled -CdnType <SPOTenantCdnType> [-Connection <PnPConnection>]
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
Parameter Sets: (All)
Accepted values: Public, Private
Required: True
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
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False