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.
Use PowerShell to list all Remote Desktop Services (RDS) sessions.
April 24, 2014
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.
You May Also Like