PowerShell Tips & Tricks: Getting more detailed error information from PowerShell

Allen White wrote this handy blogpost on how to handle error message and get more information out of an error record: http://sqlblog.com/blogs/allen_white/archive/2009/06/08/handling-errors-in-powershell.aspx There is an addtional method to get more information available. I found myself sending this little code snippet in email to many, and almost always I get the response that it saved that…

0