Thursday 5 September 2013

PowerShell script to kill a not responding task in windows

$notres = Get-Process | Where-Object { $_.responding -eq $false}
$notres.kill()

No comments:

Post a Comment