Remove-SPOHubSiteAssociation
從其相關聯的中樞網站移除網站。
語法
Default (預設值)
Remove-SPOHubSiteAssociation
[-Site] <SpoSitePipeBind>
[<CommonParameters>]
Description
使用此 Cmdlet 移除網站與中樞網站之間的關聯。
重要事項
此 Cmdlet 目前為預覽狀態,可能會變更。 目前不支援在生產環境中使用。
如果網站或中樞網站不存在,此 Cmdlet 會傳回「找不到檔案」錯誤。
範例
範例 1
Remove-SPOHubSiteAssociation https://contoso.sharepoint.com/sites/Research
此範例會從營銷中樞網站移除研究網站。
參數
-Site
適用:SharePoint Online
要從中樞網站移除的網站 URL。
參數屬性
| 類型: | Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
(All)
| Position: | 0 |
| 必要: | True |
| 來自管線的值: | True |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
CommonParameters
此 Cmdlet 支援一般參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。