-
Enumeration In PowerShell Caution: This command works via RDP in an interactive session, but NOT in a non-privileged bind/winrm shell. All services: PS> Get-CimInstance -ClassName win32_service | Select Name,State,PathName All running services: PS> Get-CimInstance -ClassName win32_service | Select Name,State,PathName | Where-Object {$_.State -like 'Running'}PS> Get-CimInstance -ClassName win32_service | Select Name,State,PathName | Where-Object {$_.State -like 'Running'}…