2024-08-01 23:40:22 +03:00
|
|
|
for (;;) {
|
|
|
|
$NRESP = Get-Process | Where-Object {$_.mainWindowTitle} | Where -Property MainWindowTitle -eq "World of Warcraft" | Where -Property Responding -eq $false
|
2024-07-27 23:46:00 +03:00
|
|
|
|
2024-08-01 23:40:22 +03:00
|
|
|
if ($NRESP) {
|
|
|
|
Stop-Process -InputObject $NRESP
|
|
|
|
}
|
2024-07-27 23:46:00 +03:00
|
|
|
|
2024-08-01 23:40:22 +03:00
|
|
|
Start-Sleep 60
|
|
|
|
}
|