I’m attempting to use PSSESSION from a computer that has PS Version 3 to a computer that has PS Version 2.0 but I am unable. I have been able to use PSSESSION from a 2.0 to a 2.0 with no problem. Leads me to believe I am unable to use PSSESSION from newer version of powershell to a 2.0 version, is this true? or am I doing something wrong?
I have ran enable-psremoting on all PCs - All my firewalls are completely off
This is all done in my virtual lab. I wanted to do some testing on it before enabling remoting on my production domain.
Read the blog that you posted, I checked the ports and everything seems to be fine. Still not working. I can get from the Win7 desktop to Win7 desktop, from Win7 desktop to 2012 server, but I am unable to get from my 2012 server to either of my Win7 desktops. They are all on the same domain, I am logged in using domain admin, and I have all the firewalls disabled.
new-pssession : [win7desktop02] Connecting to remote server win7desktop02 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 information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
The listener configuration on the domain controller is irrelevant, in this case. What do you get when you run that command on win7desktop02?
The error message you’re getting is a simple failure to connect. It could mean you’ve either got a name resolution or IP connectivity issue, but that seems unlikely in this case. Most likely, either WSMAN isn’t listening on port 5985 on win7desktop02 (which the winrm command will tell you), or you’ve still got a firewall blocking that traffic somewhere.
after looking a little closer, it has to have something to do with my lab network. I am unable to ping win7desktop02 from my 2012 server, which is also the DC/DNS server. I will have to track that piece down and get it fixed.
I can’t ping win7desktop02 from my DC/DNS server but I can from my FS01 (another 2012 server). I can also use new-pssession while on FS01 also so it’s obviously nothing to do with the powershell or winrm configuration.
Not entirely sure why my DC/DNS can not resolve the desktop by name.
I don’t really have enough information to answer that, at this point. For a start, what’s the output from “ipconfig /all” on the DC, win7desktop02 and FS01?