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

  • Question

  • 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?



    Thursday, July 31, 2014 4:24 AM