该PowerShell功能允许运行PowerShell命令,脚本阻塞了不同forest的Exchange服务器(没有forest信任)。
为了运行Invoke-ExchangeCommand,必须使用主机名(而不是IP地址)连接到Exchange服务器。Invoke-ExchangeCommand最好运行在Server 2012 R2/Windows 8.1,其次是Server 2008 R2/Windows 7.再次,在Exchange 2010上进行了测试。更多信息:http://markgossa.blogspot.com/2015/10/exchange-2010-2013-cross-forest-remote-powershell.html
如下步骤运行Invoke-ExchangeCommand:
1)下载Invoke-ExchangeCommand.ps1;
2)导入PowerShell功能;
. .\Invoke-ExchangeCommand.ps
3)使能到所有PowerShell主机的连接;
winrm s winrm/config/client ‘@{TrustedHosts=”*”}’
Latest posts by Exchange中文站 (see all)
- 微软发布Azure PlayFab公众预览 - 2021年10月22日
- 微软发布全新云计算资料分析工具Azure Synapse - 2020年12月15日
- Exchange Server 版本号和发行日期汇总 - 2020年9月21日
发布于:
浏览:2553 次
还没有评论