Skip to main content

Get-WmiObject

Handy for enumerating info from a box!

Enumerate all running services and the accounts they're running under

Get-WmiObject -Class Win32_Service | Select-Object Name, DisplayName, StartName, State | Where-Object { $_.State -eq 'Running' } | Format-Table -AutoSize