小编Ram*_*san的帖子

WinRM无法完成操作.验证指定的计算机名称是否有效

当我尝试在远程计算机上获取服务信息时,我收到了WINRM错误.

 PS C:\Windows\system32> invoke-command -computername Node1 -ScriptBlock {gsv}
 [Node1] Connecting to remote server Node1 failed with the following error      
 message : WinRM cannot complete the operation. Verify that the specified computer 
 name is valid, that the computer is accessible over the network, and that a firewall 
 exception for the WinRM service is enabled and allows access from this computer. By 
 default, the WinRM firewall exception for public profiles limits access to remote computers
 within the same local subnet. For more …
Run Code Online (Sandbox Code Playgroud)

powershell

4
推荐指数
3
解决办法
4万
查看次数

标签 统计

powershell ×1