Compare cert salaries and plan your next career move
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colProcessList = objWMIService.ExecQuery("Select * from Win32_Process") For Each objProcess in colProcessList colProperties = objProcess.GetOwner(strNameOfUser,strUserDomain) Wscript.Echo "Process " & objProcess.Name & " is owned by " _ & strUserDomain & "\" & strNameOfUser & "." Next
JLL wrote: Shouldn't the script identify services instead of processes? I would like an output file that would list the exact name of the service so I can go directly to the server and locate it.
Compare salaries for top cybersecurity certifications. Free download for TechExams community.