Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

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 3333

Trending Articles