Represents a process on an operating system
Functions: | |
Type: | |
Toolsets: |
Invoke-CimMethod -ClassName Win32_Process -MethodName Create -Arguments @{CommandLine = 'C:\tmp\implant.exe'} -CimSession $s
Usecase
$s
using New-CimSession
ROOT\Cimv2
Get-CimInstance -ClassName Win32_Process -CimSession $s | select ProcessId,Name,CommandLine | ft * -AutoSize -Wrap
Usecase
$s
using New-CimSession
ROOT\Cimv2