The services in Windows can be listed using the current script.
Get-WmiObject win32_service -Filter "NOT PathName LIKE '%C:\\Windows%'" | select Name, DisplayName, State, PathName
The service list can be exported to a file.
Get-WmiObject win32_service -Filter "NOT PathName LIKE '%C:\\Windows%'" | select Name, DisplayName, State, PathName | Export-Csv -path "C:\temp\services.csv"
2 Responses
Greetings! Very helpful advice in this particular article! It is the little changes that make the most important changes. Thanks for sharing!
I was extremely pleased to discover this great site. I want to to thank you for ones time just for this wonderful read!! I definitely liked every little bit of it and i also have you bookmarked to look at new information in your blog.