It can be used to discover specific details to help you understand vulnerabilities and exploitability.
gwmi win32_process | select name, Handle, CommandLine | format-table -autosize
get-process | select ID,Name,Path | sort-object Id | format-table -autosize