0

Using wmic to get information about process.

wmic process where processid="<PID>"

gives many details (Caption, creationtime, arguments, ExecutablePath etc) . Right now I am processing the output to get name and process-executable-path. Is there any formatting option to get same result?

Jayan
  • 141
  • 1
  • 5
  • 14

1 Answers1

1

You're better off using Powershell's gwmi to more efficiently extract and format the data you want.

gWaldo
  • 11,887
  • 8
  • 41
  • 68