From 61484ccb44600c4ce1948bb39cc7c7a678a722b8 Mon Sep 17 00:00:00 2001 From: Rowan <42702037+Rowanyeet@users.noreply.github.com> Date: Thu, 1 Oct 2020 21:32:41 +0100 Subject: [PATCH] wmic: add page (#4383) --- pages/windows/wmic.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/windows/wmic.md diff --git a/pages/windows/wmic.md b/pages/windows/wmic.md new file mode 100644 index 000000000..6b280e080 --- /dev/null +++ b/pages/windows/wmic.md @@ -0,0 +1,32 @@ +# wmic + +> Interactive shell for detailed information about running processes. +> More information: . + +- 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`