10 lines
268 B
PowerShell
10 lines
268 B
PowerShell
|
|
while ($true) {
|
|
$NRESP = Get-Process | Where-Object {$_.mainWindowTitle} | Where -Property MainWindowTitle -eq "World of Warcraft" | Where -Property Responding -eq $false
|
|
|
|
if ($NRESP) {
|
|
Stop-Process -InputObject $NRESP
|
|
}
|
|
|
|
Start-Sleep -s 120
|
|
} |