PowerShell PowerShell Stop-Process -Name notepad -ErrorAction SilentlyContinue -ErrorVariable processerror3 if($processerror3) { "No existe el proceso" } 123456 Stop-Process -Name notepad -ErrorAction SilentlyContinue -ErrorVariable processerror3 if($processerror3){ "No existe el proceso"}