Remove-SPOPublicCdnOrigin
根据 SharePoint Online 租户中的标识 (ID) 删除给定的公共 CDN 源
语法
Remove-SPOPublicCdnOrigin
[-Identity] <String>
[-Confirm]
[-WhatIf]
[<CommonParameters>]
说明
此 cmdlet 将基于其标识删除公共 CDN 源。
示例
示例 1
#Get a list of CDN origins
Get-SPOPublicCdnOrigins
Id Url
-- ---
11270051ee79e73829f6e7a3ee5d900d49c4fc5901645c642b799ecb62787a5069ca80fb HTTPS://CONTOSO.SHAREPOINT.COM/SITES/CDN...
#then remove the CDN by Identity id GUID.
Remove-SPOPublicCdnOrigin -Identity 11270051ee79e73829f6e7a3ee5d900d49c4fc5901645c642b799ecb62787a5069ca80fb
此示例返回 CDN 源的列表,然后根据标识删除源。
参数
-Confirm
提示你在运行 cmdlet 之前进行确认。
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-Identity
它是公共 CDN 路径的唯一标识符,可以使用 Cmdlet Get-SpoPublicCdnOrigins
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-WhatIf
显示在 cmdlet 运行时发生的情况。 此 cmdlet 未运行。
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |