Catch Error In Powershell Update