count multiple instances of the same process
just trying determine if can count number of instances of same process. , output single number.
should simple, have notepad opened multiple times, can do
(get-process -name notepad).countresults number of process opened name notepad
if find post has answered question, please mark answer. if find post helpful in anyway, please click vote helpful.
don't retire technet
Windows Server > Windows PowerShell
Comments
Post a Comment