Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

How do I set RDP Gateway when trying to connect to Terminal Server in Powershell

$
0
0

Hey,

I need to remote logon to some windows servers and I must get through a RDP Gateway to connect.  I could use GUI (mstsc.exe) to connect them because I could see the options to set RDP gateway; But I did not see how I can set the RDP Gateway in Powershell, for command new-psession/enter-pssession, I did not see the parameter to set RDP gateway. How can I get this addressed as I MUST use command line to do remote login?

Thanks,

Jesse


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>