Remove-SPOPublicCdnOrigin
根據 SharePoint Online 租使用者中的身分識別 (識別碼) 移除指定的公用 CDN 來源
Syntax
Remove-SPOPublicCdnOrigin
[-Identity] <String>
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Description
此 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 |