Powershell command to export the list of services in Windows machine

Open Powershell

Get-Service | Export-Csv -path “C:\services.csv”

Execute the command, it will take some time to see the .csv file to create

command to see the list of services only in started state

Get-Service | where {$_.Status -eq “Running”} | Export-Csv -path “C:\services.csv”

More info:


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.