powershell.exe -Command "$result = quser; $result; foreach ($line in $result){ if($line.Contains('Active')){ exit 0 } } ;exit 9"