首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在powershell中测试WSMan

在powershell中测试WSMan
EN

Stack Overflow用户
提问于 2013-07-08 16:51:48
回答 1查看 4.2K关注 0票数 1

我正在尝试使用powershell从客户端计算机备份我的服务器。

我正在尝试执行我的服务器上的批处理文件,但我无法与我的服务器建立连接。我找了很多,也试过

代码语言:javascript
复制
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文件吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 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)

他们有足够的信息来开始。有时,如果一切都启用了,那么重启远程管理服务是最好的主意。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/17522462

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档