Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Kill windows subprocess [powershell]
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Kill windows subprocess [powershell]

Hello.
I have software which doesn't close processes properly.
Earlier i had this code

Get-Process process | 
Where StartTime -lt (Get-Date).AddMinutes(-150) | 
Stop-Process -Force

But in new version software doesn't open new processes and does all the things under own subprocesses. The code above doesn't work in this case. Is there any possibility to kill subprocesses with powershell? Process and subprocesses have different names.
Thanks!

Comments

  • yoursunnyyoursunny Member, IPv6 Advocate

    Report the bug in said software and have the developer fix it.
    If they won't, discontinue using crappy software and switch to better software.
    The stallion coder rewrites their app every other year to keep up the pace.

    Thanked by 1MarshalChe
  • @yoursunny said: Report the bug in said software and have the developer fix it.

    Yeah... You know, there is no other devs in this particular niche. So i'm having something like

Sign In or Register to comment.