On Tue, Nov 22, 2011 at 7:23 PM, N Parr <[email protected]> wrote:
> Is there a way to kill the oldest process of multiple identical process'?  
> Looks
> like PSkill will just kill them all.  Maybe get the id's of the identical
> process and script it to kill the oldest identifier?

  You can't just pick the lowest PID, as PIDs aren't guaranteed to
always increase, AFAIK.  You'd need to look at the process start time.
 PowerShell prolly already has some obscure option to do it.  ;)

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to