Powershell Catch Error And Write To Log