Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

33
tldr/windows/query Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`