Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

PowerTip: Find Services with the Same Dependencies with PowerShell

$
0
0

Summary: Use Windows PowerShell to find services that have the same dependencies.

Hey, Scripting Guy! Question How can I use Windows PowerShell to easily find services that have the same dependencies?

Hey, Scripting Guy! Answer Use the Get-Service cmdlet with the RequiredServices parameter, and supply the name of the dependent service. (The following example shows services that require the rpcss service on my laptop.)

PS C:\> Get-Service -RequiredServices rpcss

 

Status   Name               DisplayName

------   ----               -----------

Running  DcomLaunch         DCOM Server Process Launcher

Running  RpcEptMapper       RPC Endpoint Mapper


Viewing all articles
Browse latest Browse all 36188

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>