开发者

Windows CMD, Using Find with Multiple Parameters

I am new to the Windows CMD and am running into an issue. I am trying to figure out how to find items in the tasklist using multiple parameters. In this开发者_如何转开发 case, I want to see items where the Image Name is Javaw.exe and the user is aaaa. Taken seperately, each of these commands work:

tasklist /V /FI "IMAGENAME eq javaw.exe"
tasklist /V /FI "USERNAME eq ITSERVICES\aaaa"

What I need to know is how to combine them into 1 find request, where only items with both those criteria are shown?

Any help is appreciated.

Brandie


tasklist /V /FI "IMAGENAME eq javaw.exe" /FI "USERNAME eq ITSERVICES\aaaa"

note that a better place for this question (the correct place) is superuser.com as this is not a programming question.


Use powershell command to filter multiple processes "Get-Process -Name chrome,atmgr,cmd"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜