Glam Prestige Journal

Bright entertainment trends with youth appeal.

I would like to get a text dump of the screen you see when running services.msc (except the Description column). This is so I can run a diff after installing different software that adds services to this screen.

Is this possible?

If it's helpful I have access to Powershell but don't know how to retrieve this type of information from it.

5 Answers

In the Services window, Action > Export... menu can give you the list as a .txt or .csv file. It gives you the description column as well, but you can easily delete it using a program like Excel.

You can also do this from Powershell.

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

Besides, you can filter the list. For example, you can get only the started services by executing the following command:

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

Without using powershell, this lists running services:

 sc query > running_services.txt

This lists all services, running or not:

 sc query state= all > all_services.txt
3

You can also use net start to get the list of the running services.

I also needed the full path, so I wound up using

Get-WmiObject win32_service | select Name, DisplayName, State, PathName | Export-Csv -path "C:\services.csv"

On the server 8 (2012 beta), The Export option is gone.

Also the start menu is gone, and there's only a link to powershell on the taskbar. Thankfully all the programs are still there, I just had to manually create shortcuts to each one.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy