- to list all processes matching specific image name:-
tasklist /FI "IMAGENAME eq websession.exe"
- to list all process not matching specific image name :-
tasklist /FI "IMAGENAME ne websession.exe"
- to list all modules associated to a specific image name :-
tasklist /FI "IMAGENAME eq websession.exe" /M