0
votes
2answers
102 views

What's the difference between ps processname* | kill and kill -p processname* in powershell?

In powershell, is there a difference between: ps theProcessName* | kill and kill -processname theProcessName* Thanks
0
votes
3answers
1k views

How to kill all screens that has been up longer then 3 weeks?

Im creating a script that i am executing every night at 03.00 that will kill all screens that has been running longer than 3 weeks. anyone done anything similar that can help? If you got a script or ...