external help file | Module Name | online version | schema |
---|---|---|---|
SPClientCore.dll-Help.xml |
SPClientCore |
2.0.0 |
Changes whether Office 365 CDN is enabled.
Set-KshTenantCdnEnabled [-Public] -Enabled <Boolean> [-NoDefaultOrigins] [<CommonParameters>]
Set-KshTenantCdnEnabled [-Private] -Enabled <Boolean> [-NoDefaultOrigins] [<CommonParameters>]
The Set-KshTenantCdnEnabled cmdlet changes whether Office 365 CDN is enabled in the tenant. This cmdlet can be used only when connected to the SharePoint admin center.
PS C:\> Set-KshTenantCdnEnabled -Public -Enabled $true
Enables Office 365 Public CDN.
PS C:\> Set-KshTenantCdnEnabled -Private -Enabled $true
Enables the Office 365 Private CDN.
Specifies whether Office 365 CDN is enabled.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
If specified, prevent to create the default origins.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
If specified, targets Office 365 Private CDN.
Type: SwitchParameter
Parameter Sets: ParamSet2
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
If specified, targets Office 365 Public CDN.
Type: SwitchParameter
Parameter Sets: ParamSet1
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.