Exchange跨越Forest远程

该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)
发布于: 浏览:1502 次

还没有评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据