I got tired of logging into the admin page to see what users are connected. I've written a program that runs on my desktop that shows who is currently connected, by calling a PowerShell program on the View connection server. I would like to be able to show if the user is coming through a security gateway, as it is shown in the admin page. The Get-RemoteSession does not appear to contain this information. Is there a way to find out if a session is using a security gateway from the CLI?
Thanks!