Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 10 down vote accepted

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"
share|improve this answer
    
This seems to only get my user's services or something. I have some services that aren't showing up in this list? – Alex K Dec 1 '14 at 18:51
    
If export with .csv, ensure Unicode Text (Tab Delimited) (*.txt) is used. If use Comma Delimited, the comma in Description field may overflow and mess up the output. – Ivan Chau Jul 10 at 10:59

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
share|improve this answer
1  
PowerShell works better in this case because its output can be easily customised. But it's good to know there are other options, thanks! – Alex Angas Jul 14 '11 at 22:50
1  
PowerShell is nice, but not always on every machine. – Warren P Aug 3 '11 at 15:33
    
Apparently WMI can do this too. – Warren P Nov 1 '11 at 17:23

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

share|improve this answer

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.

share|improve this answer
    
On Server 2012 R2, there exists option: Action -> Export List... – Ivan Chau Jul 10 at 10:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .