Cannot create remote powershell session after Enable-PSRemoting

前端 未结 7 813
别跟我提以往
别跟我提以往 2021-01-30 23:45

I can not remote into any machine to save my life! I have tried everything I can find. If anyone could troubleshoot or guide me, I\'d appreciate it as this would be a great tool

7条回答
  •  北海茫月
    2021-01-31 00:03

    I was receiving the same problem when remoting to a server and found this blog post very helpful - http://jeffgraves.me/2013/10/14/powershell-remoting/

    For my specific case I did the following:

    On the Local machine

    1. winrm quickconfig (although this was already configured)
    2. winrm s winrm/config/client '@{TrustedHosts="myservername.domain"}'

    On the Remote machine

    1. enable-psremoting -force
    2. Set-PSSessionConfiguration -ShowSecurityDescriptorUI -Name Microsoft.PowerShell -Force

提交回复
热议问题