#1 04 Jun 2019 09:59

crogiez_cagip
Member
Registered: 04 Jun 2019
Posts: 3

get-process + arguments

hello

i search to have a list of all process on a Windows computer
with all arguments
like
"c:\Windows\system32\wudfhost.exe" -hostGUID:{193....} -loeventPortName:hostProcess
c:\syst\sinagios\\agent\nsclient\nscp.exe --run

i want all "Command line" in TaskPanel

$arr1=get-process
$arr1 | %{
   $proc=$_
   $proc | select *
}

thank you

Offline

#2 04 Jun 2019 10:43

crogiez_cagip
Member
Registered: 04 Jun 2019
Posts: 3

Re: get-process + arguments

found !!!

Get-WmiObject -Class WIN32_Process | select commandLine

Offline

#3 04 Jun 2019 10:59

crogiez_cagip
Member
Registered: 04 Jun 2019
Posts: 3

Re: get-process + arguments

Get-WmiObject -Class WIN32_Process | where commandline -NE $null | select ProcessID,Name,commandline > cl3.txt

Offline

Board footer

Powered by FluxBB