Generate list of Windows Services using PowerShell

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.

Use PowerShell to generate list of Windows Services

list running services

Open an elevated PowerShell console, type Get-Service and hit Enter. You will see a list of all the Services installed on your Windows system.

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 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

These were just two examples. Read more about Get-Service on TechNet.

Now take a look at how to Export and Backup Device Drivers in Windows 10 using PowerShell.

Using Windows PowerShell, you can also update Windows Defender definitions, list Drives, uninstall Universal apps, find scheduled tasks queued status, create System Image, create desktop shortcut to open Windows Store apps, get an Installed Driver list, export Drivers and more!

Posted by on , in Category Windows with Tags

Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. 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.