CurtisLGray
Technical User
To Anyone that can help:
I'm writing a script and I need to wait for an external process to finish before continuing to the next step. The process I want to monitor is "msiexec.exe", but since multiple instances run when an MSI application is launched, I need to monitor the "msiexec.exe" process which was started by the user currently logged in, NOT the system account.
Using VBScript, does anyone know how to Compare the username returned by a WMI query from Win32_ComputerSystem, and the username returned by a WMI query from Win32_Process.
I think that this will really help resolve my issue.
Thanks in advance!
I'm writing a script and I need to wait for an external process to finish before continuing to the next step. The process I want to monitor is "msiexec.exe", but since multiple instances run when an MSI application is launched, I need to monitor the "msiexec.exe" process which was started by the user currently logged in, NOT the system account.
Using VBScript, does anyone know how to Compare the username returned by a WMI query from Win32_ComputerSystem, and the username returned by a WMI query from Win32_Process.
I think that this will really help resolve my issue.
Thanks in advance!