Remove-SPOOrgNewsSite
根據 SharePoint Online 租用戶中的 URL,從組織新聞網站清單中移除指定網站
語法
Default (預設值)
Remove-SPOOrgNewsSite
-OrgNewsSiteUrl <String>
[<CommonParameters>]
Description
此 Cmdlet 會根據網站的 URL 從組織新聞網站清單中移除網站。
範例
範例 1
Remove-SPOOrgNewsSite -OrgNewsSiteUrl https://contoso.sharepoint.com/sites/Marketing
此範例會從組織新聞網站清單中移除 https://contoso.sharepoint.com/sites/Marketing 。
參數
-OrgNewsSiteUrl
適用對象:SharePoint Online
要標示為組織新聞網站的網站 URL。
參數屬性
| 類型: | System.String |
| 預設值: | None |
| 支援萬用字元: | 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。