Enable-OutlookAnywhere (RTM)

 

适用于: Exchange Server 2007

上一次修改主题: 2007-06-11

Enable-OutlookAnywhere cmdlet 启用运行 Microsoft Exchange Server 2007 的计算机,该计算机为 Outlook Anywhere 安装了客户端访问服务器角色。运行此 cmdlet 可使服务器通过 Outlook Anywhere(也称为 RPC over HTTP)从 Internet 接受来自 Microsoft Office Outlook 2007 和 Outlook 2003 客户端计算机的请求。

语法

Enable-OutlookAnywhere -ExternalAuthenticationMethod <Basic | Digest | Ntlm | Fba | WindowsIntegrated | Misconfigured> -ExternalHostname <Hostname> -SSLOffloading <$true | $false> [-DomainController <Fqdn>] [-Server <ServerIdParameter>] [-TemplateInstance <PSObject>]

详细说明

Enable-OutlookAnywhere cmdlet 可以为 Outlook Anywhere 启用 Exchange 2007 客户端访问服务器。这允许服务器通过 Outlook Anywhere 从 Internet 接受来自 Outlook 2007 和 Outlook 2003 客户端的请求。

important要点:
仅当已安装 RPC over HTTP 代理 Windows 网络组件时,才可以成功运行此 cmdlet。
note注意:
运行此 cmdlet 时,最多需要一个小时使设置生效,这取决于 Active Directory 的复制时间。

若要运行 Enable-OutlookAnywhere cmdlet,必须为您使用的帐户委派下列角色:

  • Exchange Server 管理员角色和目标服务器的本地 Administrators 组

有关管理 Exchange Server 2007 所需的权限、角色委派以及权利的详细信息,请参阅权限注意事项

参数

参数 必需 类型 说明

ExternalAuthenticationMethod

必需

Microsoft.Exchange.Data.Directory.SystemConfiguration.AuthenticationMethod

此参数指定要在以下两者之间的 HTTP 连接中使用的身份验证方法:Microsoft Outlook 和防火墙之间,以及为 Outlook Anywhere 启用的客户端访问服务器上的防火墙和 /rpc 虚拟目录之间。可以将此身份验证方法设置为“基本”或“NTLM”。

ExternalHostname

必需

Microsoft.Exchange.Data.Hostname

此参数指定在启用了 Outlook Anywhere 的用户的 Outlook 配置文件中使用的外部主机名称。

SSLOffloading

必需

System.Boolean

此参数指定客户端访问服务器是否需要安全套接字层 (SSL)。如果 SSL 硬件解决方案在客户端访问服务器之前运行,则只应将此值设置为 true

DomainController

可选

Microsoft.Exchange.Data.Fqdn

若要指定域控制器的完全限定的域名 (FQDN),请在此 cmdlet 中包含 DomainController 参数。

Server

可选

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

此参数指定要为 Outlook Anywhere 启用的客户端访问服务器的名称。

TemplateInstance

可选

System.Management.Automation.PSObject

将现有对象提供给此参数时,此 cmdlet 将使用对象的配置在本地服务器或目标服务器上创建对象的相同副本。

输入类型

返回类型

错误

错误 说明

 

 

异常

异常 说明

 

 

示例

此代码示例将为 Outlook Anywhere 启用名为 Sever01 的服务器。将外部主机名设置为 mail.contoso.com,使用 NTLM 身份验证,并将 SSL 卸载设置为 $true

Enable-OutlookAnywhere -Server:Server01 -ExternalHostname:mail.contoso.com -ExternalAuthenticationMethod:NTLM -SSLOffloading:$true