Hi There,
Struggling to figure out in C# how to loop through a foreach and if a string does not exist to do a console.writeline(str).
What I am trying to achieve is, I am looping through the Win32_Process, then I am looking to see for a specific process is running but:
There are 6 processes with the same name but with different start up parameters. One of the parameters is the folder directory (which tells me which process is started) which I can get in the CommandLine of the query but need to report on which one has not started yet.
Could anyone point me in the right direction?
Much Appreciated.
Struggling to figure out in C# how to loop through a foreach and if a string does not exist to do a console.writeline(str).
What I am trying to achieve is, I am looping through the Win32_Process, then I am looking to see for a specific process is running but:
There are 6 processes with the same name but with different start up parameters. One of the parameters is the folder directory (which tells me which process is started) which I can get in the CommandLine of the query but need to report on which one has not started yet.
Could anyone point me in the right direction?
Much Appreciated.