Info |
---|
Status | ||||
---|---|---|---|---|
|
Table of Contents |
---|
Step-by-step guide
If you want to debug the windows ps section. You will find the whole script for the agent in our Github:
Code Block | ||||
---|---|---|---|---|
| ||||
agents/wnx/src/engine/providers/ps.cpp |
The query is:
Code Block | ||||
---|---|---|---|---|
| ||||
Get-WmiObject -Query "SELECT * from Win32_Process" |
Code Block | ||||
---|---|---|---|---|
| ||||
Measure-Command { Get-WmiObject -Query "SELECT * from Win32_Process" | foreach { $_.GetOwner().User } |
...