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)
- Windows 10 Tip: How To Quickly Switch Sound Playback Device - February 25, 2017
- The Page File (PageFile.sys) Guide for Windows 7, 8.1 and 10 - February 22, 2017
- How To Enable and Use Fetch Files Feature in OneDrive to Access All Your Files Remotely - February 21, 2017
Last updated: 08/04/2014