Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Determine the Account a Process is Running Under?

(image) Hey, Scripting Guy! I’ve got a script that returns information about all the processes running on a computer, except I can’t seem to figure out how to get the name of the user account that these processes are running under. Can you help?-- DL(image) (image) (image) Hey, DL. Yes, we can help. It’s actually fairly easy to ...