Some services, such as DHCP Client, requires other services to run in order to fulfill its own mission. To check how many services are dependent to a specific service, you normally
1. Go to Services console, by pressing Win+R, typing services.msc, and hitting Enter.
2. Double-click a service that you want to check the dependencies, and go to Dependencies tab, from which you will find the list of services that are dependent to and depend on this service.
Ok, now let’s see if there is an easier way. PowerShell actually has a cmdlet called Get-Service that gives a full list of services on your computer.
Adding up a parameter DependentServices with a specified service name, you can get a list of the dependent services fairly quickly. For example, the following command lists the dependent services to DHCP client service.
Get-Service -Name DHCP -DependentServices
Adding up -ComputerName parameter, you can launch the same to get the same info from a remote computer.
Get-Service -Name DHCP -DependentServices -ComputerName remotecomputer
Latest posts by Kent Chen (see all)
- Microsoft To-Do App Available in Preview on Windows 10, iOS and Android - April 19, 2017
- Windows 10 Tip: What’s Mini View in Movies & TV App and How To Use it - April 15, 2017
- Windows 10 Tip: How To Convert MBR Partition to GPT without Losing Data - April 12, 2017
Last updated: 08/04/2014