0

我的问题是是否有办法在 ExchangeShell 中指定默认的 Exchange Server 连接以及如何配置。当前 ExchangeShell 尝试连接到最近的服务器。

4

2 回答 2

2

如果您检查 EMS 图标的属性,它应该显示以下命令行:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "。'C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto

将 Connect-ExchangeServer -auto 更改为:

Connect-ExchangeServer-ServerFQDN "servername.domain.com"

于 2012-03-22T16:08:45.000 回答
0

您可以在 EMS 快捷方式中更改它。在目标框的末尾,您会发现:

... ;Connect-ExchangeServer -auto

将“-auto”替换为您的服务器名称。

... ;Connect-ExchangeServer ServerFqdn

Connect-ExchangeServer函数在 $exbin\ConnectFunctions.ps1 中定义,该文件由 EMS 快捷方式 (RemoteExchange.ps1) 中定义的启动脚本加载

于 2012-03-22T16:06:28.760 回答