System Grab Bag

View all TLDR pages from Windows (or from all pages)

query

Displays information about user sessions and process. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/query.
  • Display all user sessions:
    query session
  • Display the current user sessions on a remote computer:
    query session /server:{{hostname}}
  • Display logged in users:
    query user
  • Display all user sessions on a remote computer:
    query session /server:{{hostname}}
  • Display all running processes:
    query process
  • Display running processes by session or user name:
    query process {{session_name|user_name}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.