Link to home
Start Free TrialLog in
Avatar of Bobby Batts
Bobby BattsFlag for United States of America

asked on

How to Determine Running Services using PowerShell

I have multiple service accounts that are logged in.  I need to determine, using PowerShell, what services these accounts associated with.   My environment is primarily composed of Windows servers. Any samples or examples of a PowerShell script that will help me with this problem would be appreciated.  

Lipotech
SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of oBdA
oBdA

Get-Service does not provide the account the service is running under.
You are absolutely right, mea culpa.
Avatar of Bobby Batts

ASKER

I am trying the different recommendations suggested.  I will update this request in a bit.

Lipotech
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just now circling back to this problem.  Sorry for the delayed response.  The life of Big IT!  I will be reviewing each comment today and testing recommendations.  I thank each of you for your support.

lipotech