March 27, 2017, 1:28 p.m.
IT | Rants

Windows Server 2012 RDS - Get IP for RDS Session

Windows Server 2012 is doing the same as most modern software - it is losing features. Sometimes that is a good thing - losing fat is good, spring cleaning your home is good... Trimming the fat from bloated software is definitely a good thing. What is NOT acceptable in my mind, is removing crucial functionality under the disguise of an upgrade / improvement.

I can think of many examples:

  1. Microsoft Edge threw away 90% of the IE11 browser's capability (many of these were good choices, some not)
  2. All the Windows Metro apps that basically contains no functionality other than core features, that were intended to replace their desktop counterparts.
  3. Mac OS X Disk Utility that lost many of its abilities just to look cool and be simpler to use.
  4. Mac OS X Photos app that is not even remotely related to Aperture, citing simplified user interface but basically losing 99% of its functionality.
  5. Online cloud based apps such as QuickBooks, that cannot do half of what the desktop application can do.
  6. The list goes on.

A specific example I want to touch base on is Windows Server 2012 R2 that cannot show you the IP address of an RDS session any longer. You used to be able to right click on an RDS session in Remote Desktop Services Manager, select Status and see the IP address and client name of the connected session. No such feature exists any longer in Windows Server 2012 R2. Not even going to PowerShell and executing

Get-RDUserSession | fl

gives you the information you seek. The only solution I found was by downloading and installing this tool, and then typing in the following in PowerShell:

Import-Module PSTerminalServices

You will now see the session list and the associated IP address and client name.