Hey guys...me again
I am using the following to check for running processes on remote machines:
VB Code:
Function IsProcessRunning( strServer, strProcess ) Dim Process, strObject IsProcessRunning = False strObject = "winmgmts://" & strServer For Each Process in GetObject( strObject ).InstancesOf( "win32_process" ) If UCase( Process.name ) = UCase( strProcess ) Then IsProcessRunning = True Exit Function End If Next End Function
It works with no problems.
What I want to know is how to get more information besides just the name of the process.
How do I find out the user that is running the processes on the remote machine?
I've tried using Process.User, Process.UserID, Process.UserName, etc.. and can't get anything.
I appreciate the help





Reply With Quote