toasterking
12/4/2017 - 4:02 PM

how to check for the existence of a process in WMI (i dont know if we had this documented anywhere else, but this was a pain to figure out o

how to check for the existence of a process in WMI (i dont know if we had this documented anywhere else, but this was a pain to figure out over the last day so im making a note of it NOW!) --this will check for an active Citrix session; used in Citrix Receiver 3.4.2 caboodle's relevance Danger note: See also "Process exists" gist which checks for the process name using native relevance instead of WMI.

not exists (selects "name from win32_process where name='wfica32.exe'" of wmi)