Answer:How to get the command that invoked a task with tasklist
CMD
wmic process get commandline,processid /format:csv
PowerShell
Get-WmiObject win32_process | select CreationDate,ProcessId,CommandLine|ft -AutoSize
http://superuser.com/a/683052
Answer:How to get the command that invoked a task with tasklist? https://t.co/qVmJCTezYl
— ศรรามไงจะใครล่ะ❤️ (@sornram9254) March 28, 2016