Check Powershell Script For Errors