Use PowerShell to List RDS Sessions

Use PowerShell to list all Remote Desktop Services (RDS) sessions.

John Savill

April 24, 2014

1 Min Read
remote computing

Q: How can I use PowerShell to check all my Remote Desktop Services sessions?

A: If you want to use PowerShell instead of qwinsta.exe to list your Remote Desktop Services (RDS) sessions, you can do so as follows:

import-module remotedesktopservicesGet-RDUserSession

Using this method provides the benefit of keeping the sessions as objects within PowerShell. The following figure shows an example.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like