I’m just learning PowerShell and taking the Getting-Started-with-Powershel-3.0-Jump-Start from the Microsoft Virtual Academy. I have Windows 10 home edition on 2 machines. The command suggested to enable remoting, “enable-psremoting”, ran OK but remoting does not work. For example, “Enter-PSSession -computername anothercomputer” gives the error message
Enter-PSSession : Connecting to remote server anothercomputer failed with the following error message : The WinRM client cannot process the request. If the authentic
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
the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. Yo
more information about that by running the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
- Enter-PSSession -computername anothercomputer
-
+ CategoryInfo : InvalidArgument: (anothercomputer:String) [Enter-PSSession], PSRemotingTransportException + FullyQualifiedErrorId : CreateRemoteRunspaceFailed
So what is the best way to set up remoting in this environment?