今天我需要W2008R2和Win7启用PSRemoting:错误就win2008R2和Win7启用PSRemoting
所有的虚拟机都在工作组中。
我已经在每台虚拟机上设置了相同的管理员帐户和相同的密码。
在管理员角色的PowerShell中运行启用-PSRemoting。
但是我仍然面临如下错误:
错误1:
Set-WSManQuickConfig : Access is denied.
错误2:
[192.168.23.2] Connecting to remote server failed with the following error message : The WinRM client cannot process th e request. If the authentication scheme is different from Kerberos, or if the client computer is not joined to a domain , then HTTPS transport must be used or the destination machine must be added to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. You can get more information about that by running the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OpenError: (:) [], PSRemotingTransportException + FullyQualifiedErrorId : PSSessionStateBroken
错误3:
Set-WSManQuickConfig : WinRM firewall exception will not work since one of the network connection types on this machine is set to Public. Change the network connection type to either Domain or Private and try again.
参数-SkipNetworkProfileCheck在PowerShell版本3.0或更高版本中可用。 – 2016-06-14 09:11:20