Get-SPOTenantCdnPolicies
获取在 SharePoint Online 租户上应用的公共或专用策略。 需要租户管理员权限。
语法
Default (默认值)
Get-SPOTenantCdnPolicies
-CdnType <SPOTenantCdnType>
[<CommonParameters>]
说明
此 cmdlet 获取应用于 SharePoint Online 组织租户的公共或专用策略。
示例
示例 1
Get-SPOTenantCdnPolicies -CdnType Public
此示例返回租户的公共 CDN 策略。
示例 2
Get-SPOTenantCdnPolicies -CdnType Private
此示例返回租户的专用 CDN 策略。
参数
-CdnType
适用:SharePoint Online
当前 SPO 租户上的 CDN 类型 (公共、专用)
参数属性
| 类型: | Microsoft.Online.SharePoint.TenantAdministration.SPOTenantCdnType |
| 默认值: | None |
| 接受的值: | Public, Private |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。