次の方法で共有


Set-SPOTenantCdnEnabled

Enables or disables Public content delivery network (CDN) or Private CDN on the tenant level. Requires Tenant administrator permissions.

構文

Default (既定)

Set-SPOTenantCdnEnabled
    [-Enable <Boolean>]
    [-CdnType <SPOTenantCdnTypeClient>]
    [-NoDefaultOrigins]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

説明

Enables or disables Public content delivery network (CDN) or Private CDN on the tenant level.

EXAMPLE 1

Set-SPOTenantCdnEnabled -CdnType public -Enable $true

The example enables a CDN.

パラメーター

-CdnType

Applicable: SharePoint Online

Specifies the CDN type. The valid values are: public or private.

パラメーターのプロパティ

型:Microsoft.Online.SharePoint.PowerShell.SPOTenantCdnTypeClient
規定値:None
指定可能な値:Public, Private, Both
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-Confirm

Applicable: SharePoint Online

Prompts you for confirmation before running the cmdlet.

パラメーターのプロパティ

型:System.Management.Automation.SwitchParameter
規定値:None
ワイルドカードのサポート:False
DontShow:False
Aliases:cf

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-Enable

Applicable: SharePoint Online

Specifies if the CDN is enabled.

The valid values are: $True and $False.

パラメーターのプロパティ

型:System.Boolean
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-NoDefaultOrigins

Applicable: SharePoint Online

PARAMVALUE: SwitchParameter

パラメーターのプロパティ

型:System.Management.Automation.SwitchParameter
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-WhatIf

Applicable: SharePoint Online

Shows what would happen if the cmdlet runs. The cmdlet is not run.

パラメーターのプロパティ

型:System.Management.Automation.SwitchParameter
規定値:None
ワイルドカードのサポート:False
DontShow:False
Aliases:wi

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値: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.

入力

None

出力

System.Object