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)
- How To Disable Removable USB Storage Read, Write and Execute Access on Windows 10 - December 1, 2016
- Windows 10 Tip: How To Move System Tray to the Second Display - November 30, 2016
- How To Display The Last Logon Account Info on Windows 7 and 10 - November 29, 2016
Last updated: 08/04/2014