Finding Services Tied to Processes

When looking at a process list, you will undoubtedly see a number of svchost processes. The overall number of them really depends on the system and what services are running. Each svchost has at least one service running within it. If you are seeking a better understanding of which service is tied to a particular instance of svchost, you can do so in PowerShell with the following: