powershell try catch vs if else