Processes / Services
View running processes and services:
C:\> tasklist /svcList all running Services
PS C:\> Get-Service | ? {$_.Status -eq "Running"} | select -First 2 | flExamine Service permissions
PS C:\> Get-ACL -Path HKLM:\System\CurrentControlSet\Services\wuauserv | Format-ListView service by PID
C:\> tasklist /FI "PID eq 1337"PS C:\> Get-WmiObject Win32_Process -Filter "ProcessId = 1337" | Select-Object Name, ProcessId, CommandLinePS C:\> get-process -Id 1337Get service by name
PS C:\> get-service | ? {$_.DisplayName -like 'AMOGUS*'}Get all service paths
PS C:\> wmic service get name, pathname