Hi
Does someone know if if i run PSEXEC (or WMI) N times in the same program - does it open N new sessions? or does it uses the same session over and over again?
Hi
Does someone know if if i run PSEXEC (or WMI) N times in the same program - does it open N new sessions? or does it uses the same session over and over again?
It will open a new session for every time you run it. (Well, unless you were somehow tricking it into running more than one command at a time with a command line like cmd.exe /c ipconfig /registerdns & echo DONE
... but that is rather unlikely.)