You can use the Command Prompt or the Get-Service PowerShell cmdlet t0 generate a list of Running or Stopped Windows Services. This post will show you how you can generate a list of Windows Services running on your Windows 10/8/7 computer.
How to export Windows Services list
Export Windows Services list using command line in CMD
sc query type= service > "%userprofile%\Desktop\ServicesList.txt"
This will save the list as a text file on your Desktop.
Use PowerShell to generate list of Windows Services
The Get-Service cmdlet is designed to retrieve information about the services installed on your computer. Using the Get-Service PowerShell cmdlet, you can generate a list of Windows Services running on your Windows 10/8/7 computer.
You can also filter out the results using the filtering capabilities of Windows PowerShell. Make use of the parameters to achieve this. You can generate a list of Running Services as well as Stopped Services. You can also sort them by name using the Sort-Object cmdlet. You can go a step forward and even output the list to GridView.
For instance, you can use the Get-Service cmdlet, filter the status on the word Running, and then output to the GridView, by using the following command:
Get-Service | Where Status -eq "Running" | Out-GridView
This will generate a list of the Running Services, and another window will open to show the result.
To retrieve information about Stopped Services on a remote computer, and output it to GridView, use -ComputerName parameter, as shown below:
Get-Service -ComputerName RemoteComputerName | Where Status -eq "Stopped" | Out-GridView
To export the list of Windows Services, use the following command:
Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP since then. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.