Veja se isso funciona para você: link
Type the command given below exactly:
WMIC /OUTPUT:C:\ProcessList.txt PROCESS get Caption,Commandline,Processid
or
WMIC /OUTPUT:C:\ProcessList.txt path win32_process get Caption,Processid,Commandline
Now, open the file C:\ProcessList.txt. You can see the details of all the processes in that file.