设置一个非常混合的Active Directorynetworking以使用PowerShell远程pipe理

简介:我希望能够监视我的networking上的计算机,但不需要自动化。 我们太小,不能购买像MOM这样的东西,但太大,无法手动做任何事情(两个地方约100台机器)。 我只是不断遇到问题,并想知道是否有一个组策略设置的主列表,我可以分发到我的环境,以获得远程PowerShell的工作。

环境:我们的广告networking相当混杂。 最终用户有XP SP3Win 7Win 7 x64 。 服务器包括Win2k3 SP2Win2k8Win2k8 x64Win2k8 R2Win2k8 R2 x64

详细信息:我试图让它与远程PowerShell一起工作,但我遇到了如下错误:

Connecting to remote server failed with the following error message : The WinRM client cannot process the request. Default authentication may be used with an IP address under the following conditions: the transport is HTTPS or the destination is in the TrustedHosts list, and explicit credentials are provided. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. For more information on how to set TrustedHosts run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OpenError: (:) [], PSRemotingTransportException + FullyQualifiedErrorId : PSSessionStateBroken 

然后我去电脑(Win2k3的SP2服务器),并通过谷歌推荐运行winrm quickconfig ,它说:

 Make these changes [y/n]? y WinRM has been updated to receive requests. WinRM service started. WSManFault Message = The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig". Error number: -2144108526 0x80338012 The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig". 

那就对了。 它告诉我通过运行winrm quickconfig来补救我的winrm quickconfig失败。 我不想一次性为这个项目绑定一个谷歌search。 我确定有一个关于如何设置PowerShell远程pipe理networking的分步教程。 有人知道吗? 书是可以接受的。

提前致谢! 我不认为我的问题会持续这么久。

编辑:到目前为止,这是最好的,但它不全面: http : //www.computerperformance.co.uk/powershell/powershell_remote.htm

我find的最全面的PowerShell远程指南是“Windows PowerShell远程pipe理指南”。 它可以免费下载 (38页),但需要在PowerShell.com上进行网站注册。