wmic

Interactive shell for detailed information about running processes. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/wmic.

wmic alias where_clause verb_clause

wmic process list brief

wmic process list full

wmic process get name,processid,parentprocessid

wmic process where name="example.exe" list full

wmic process where processid=pid get name,commandline

wmic process pid delete