我正在尝试使用powershell从客户端计算机备份我的服务器。
我正在尝试执行我的服务器上的批处理文件,但我无法与我的服务器建立连接。我找了很多,也试过
Test-WSMan : The WinRM client cannot process the request. If the authentication scheme is different from Kerberos, or i
f the client computer is not joined to a domain, then HTTPS transport must be used or the destination machine must be a
dded to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the Tru
stedHosts list might not be authenticated. You can get more information about that by running the following command: wi
nrm help config.
At line:1 char:11
+ Test-WsMan <<<< 182.50.121.100 -credential $cred -authentication default
+ CategoryInfo : InvalidOperation: (182.50.121.100:String) [Test-WSMan], InvalidOperationException
+ FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.TestWSManCommand有人能告诉我如何逐步执行bat文件吗?
发布于 2013-07-08 17:02:05
您是否已在"GPEDIT“i.e.Group策略中添加了您的主机名或IP并启用了使用新凭据?
如果您可能遗漏了什么,请按照步骤操作。
(http://www.ifunky.net/Blog/post/How-To-Enable-PowerShell-Remoting-(WinRM).aspx,
http://blog.crayon.no/blogs/janegil/archive/2010/03/04/enable_2D00_and_2D00_configure_2D00_windows_2D00_powershell_2D00_remoting_2D00_using_2D00_group_2D00_policy.aspx)
他们有足够的信息来开始。有时,如果一切都启用了,那么重启远程管理服务是最好的主意。
https://stackoverflow.com/questions/17522462
复制相似问题