mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:22:09 +02:00
wmic: add page (#4383)
This commit is contained in:
parent
6a9edff745
commit
61484ccb44
1 changed files with 32 additions and 0 deletions
32
pages/windows/wmic.md
Normal file
32
pages/windows/wmic.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# wmic
|
||||
|
||||
> Interactive shell for detailed information about running processes.
|
||||
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/wmic>.
|
||||
|
||||
- Fundamental grammar:
|
||||
|
||||
`wmic {{alias}} {{where_claus}} {{verb_clause}}`
|
||||
|
||||
- Show brief details about the currently running processes:
|
||||
|
||||
`wmic process list brief`
|
||||
|
||||
- Show full details about the currently running processes:
|
||||
|
||||
`wmic process list full`
|
||||
|
||||
- Access specific fields such as process name, process ID and parent process ID:
|
||||
|
||||
`wmic process get {{name,processid,parentprocessid}}`
|
||||
|
||||
- Display information about a specific process:
|
||||
|
||||
`wmic process where {{name="example.exe"}} list full`
|
||||
|
||||
- Display specific fields for a specific process:
|
||||
|
||||
`wmic process where processid={{pid}} get {{name,commandline}}`
|
||||
|
||||
- Kill a process:
|
||||
|
||||
`wmic process {{pid}} delete`
|
Loading…
Add table
Reference in a new issue