Disable-OutlookAnywhere (RTM)
适用于: Exchange Server 2007
上一次修改主题: 2007-06-11
Disable-OutlookAnywhere cmdlet 在安装了客户端访问服务器角色的 Microsoft Exchange Server 2007 计算机上禁用 Outlook Anywhere。
运行 Disable-OutlookAnywhere cmdlet 将禁止客户端访问服务器使用 Outlook Anywhere(也称为 RPC over HTTP)接受来自 Internet 上的 Microsoft Office Outlook 2007 和 Office Outlook 2003 客户端的请求。
语法
Disable-OutlookAnywhere -Identity <VirtualDirectoryIdParameter> [-DomainController <Fqdn>] [-Server <ServerIdParameter>]
详细说明
Disable-OutlookAnywhere cmdlet 禁用 Exchange 2007 客户端访问服务器上的 Outlook Anywhere。运行 Disable-OutlookAnywhere cmdlet 将禁止客户端访问服务器使用 Outlook Anywhere(也称为 RPC over HTTP)接受来自 Internet 上的 Outlook 2007 和 Outlook 2003 客户端的请求。
注意: |
---|
运行此 cmdlet 之后,可能需要长达一个小时的时间,设置才能生效。所需的时间取决于复制 Active Directory 所需的时间。 客户端访问服务器禁用了 Outlook Anywhere 之后,可能需要删除 Windows RPC over HTTP 代理 Windows 网络组件。 |
若要运行 Disable-OutlookAnywhere cmdlet,必须为您使用的帐户委派以下角色:
- Exchange Server 管理员角色和目标服务器的本地 Administrators 组
有关权限、角色委派以及管理 Exchange Server 2007 所需权限的详细信息,请参阅“权限注意事项”。
参数
参数 | 必需 | 类型 | 说明 |
---|---|---|---|
Identity |
必需 |
Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter |
此参数是要禁用的虚拟目录的标识。 |
DomainController |
可选 |
Microsoft.Exchange.Data.Fqdn |
若要指定域控制器的完全限定的域名 (FQDN),请在 cmdlet 中包含 DomainController 参数。 |
Server |
可选 |
Microsoft.Exchange.Configuration.Tasks.ServerIdParameter |
此参数指定要禁用 Outlook Anywhere 的客户端访问服务器的名称。 |
输入类型
返回类型
错误
错误 | 说明 |
---|---|
|
|
异常
异常 | 说明 |
---|---|
|
|
示例
此代码示例禁用名为 CAS01 的客户端访问服务器上的 Outlook Anywhere。
Disable-OutlookAnywhere -Server:CASO1