6 lines
210 B
PowerShell
6 lines
210 B
PowerShell
|
|
$NRESP = Get-Process | Where-Object {$_.mainWindowTitle} | Where -Property MainWindowTitle -eq "World of Warcraft" | Where -Property Responding -eq $false
|
|
|
|
if ($NRESP) {
|
|
Stop-Process -InputObject $NRESP
|
|
} |