Catch and Store Error Messages in PowerShell