I'm using windows 7 prof and I was trying to write unique command I can use for killing the tasks in case my OS gets freezing (what I also see very useful for more admins) What I need to do is to nest multiple filters to one command.
Example:
I need to kill all running console tasks (n'1) except of explorer.exe, firefox.exe and vmware.exe. The syntax I used (not successfully) is:
'taskkill /FI "session eq 1" /FI "imagename ne firefox.exe" /FI "imagename ne explorer.exe" /t /f'
It seems like command is not allowing me to use multiple /FI options.
Can anyone please advice what syntax should be used in this specific case? Also I'm sorry if the question is too basic but I've never passed any education regarding commands.
Thank you all in advance, in case of any question feel free to ask.