- Posh:
Get-WmiObject -Class Win32_Service|Format-Table -Property Name,DisplayName,PathName,StartMode
- Cmd:
wmic service get name,displayname,pathname,startmode | findstr /i "auto" | findstr /i /v "c:\windows" | findstr /i /v """
Get-WmiObject -Class Win32_Service|Format-Table -Property Name,DisplayName,PathName,StartMode
wmic service get name,displayname,pathname,startmode | findstr /i "auto" | findstr /i /v "c:\windows" | findstr /i /v """