Try Catch Powershell Error Variables In C