Remove-OutlookProvider

 

適用版本: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1

上次修改主題的時間: 2007-06-28

使用 Remove-OutlookProvider 指令程式可從 Active Directory 刪除 AutoDiscoverConfig 物件。

語法

Remove-OutlookProvider -Identity <OutlookProviderIdParameter> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-WhatIf [<SwitchParameter>]]

詳細描述

此指令程式會刪除 Active Directory 中 Global Settings 物件下的 AutoDiscoverConfig 物件。

若要執行 Remove-OutlookProvider 指令程式,您使用的帳戶必須已委派下列資格:

  • Exchange 組織系統管理員角色

如需管理 Exchange Server 2007 所需之權限、委派角色以及權利的相關資訊,請參閱權限考量

參數

參數 必要 類型 描述

Identity

必要

Microsoft.Exchange.Configuration.Tasks.OutlookProviderIdParameter

此參數指定要從 Active Directory 移除的 AutoDiscoverConfig 物件。

DomainController

選用

Microsoft.Exchange.Data.Fqdn

若要指定從 Active Directory 擷取資料之網域控制站的網域全名,請在命令中加入 DomainController 參數。

Confirm

選用

System.Management.Automation.SwitchParameter

Confirm 參數會使得命令暫停處理,並要求確認命令將進行的動作之後才會繼續處理。您不需要為 Confirm 參數指定任何值。

WhatIf

選用

System.Management.Automation.SwitchParameter

WhatIf 參數指示命令模擬它將對物件採取的動作。使用 WhatIf 參數,則不需要套用任何變更,就能檢視變更。您不需要為 WhatIf 參數指定任何值。

輸入類型

傳回類型

錯誤

錯誤 描述

例外狀況

例外狀況 描述

範例

此範例會從 Active Directory 刪除名為 "Test Object" 的 AutoDiscoverConfig 物件。

Remove-OutlookProvider -Identity "Test Object"