Get-SPOTenantCdnEnabled
Returns whether Public content delivery network (CDN) or Private CDN is enabled on the tenant level. Requires Tenant administrator permissions.
Syntax
Default (Default)
Get-SPOTenantCdnEnabled
-CdnType <SPOTenantCdnType>
[<CommonParameters>]
Description
Returns whether Public content delivery network (CDN) or Private CDN is enabled on the tenant level.
Examples
EXAMPLE 1
Get-SPOTenantCdnEnabled -CdnType Public
The example returns a CDN with a type of public.
Parameters
-CdnType
Applicable: SharePoint Online
Specifies the CDN type. The valid values are Public or Private.
Parameter properties
Type: | Microsoft.Online.SharePoint.TenantAdministration.SPOTenantCdnType |
Default value: | None |
Accepted values: | Public, Private |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.