Please forgive me if I ask anything too obvious as I am brand new to Powershell. I'm trying to establish a remote connection to machines in two separate domains (both outside my current domain). Using RDP client (mstsc.exe) I can remote no problem - I can also use the Connect-Mstsc function that Jaap Brasser wrote to do the same thing in powershell.
But after a day of banging my head, for the life of me I can't get PS to connect using PSSession. For that matter I can't even get the server names to resolve using Test-Connection. I can ping them both and get a reply with no problem, but can't do anything in PS to establish any connectivity. I try using host name, FQHN, IP, all to no avail.
FYI in case it might matter for troubleshooting, I'm a domain admin on one of the other servers, but not the other.
If anyone can point me to the error of my ways and/or point me down the path of enlightenment, I'd much appreciate it.
thx!