-ErrorAction and -ErrorVariable
Let me take a minute to tell you about 2 of my favorite things in Windows PowerShell: -ErrorAction and –ErrorVariable You may have heard me talk about being maniacal about doing a great job with error handling ... this is one the cornerstones of our architecture. Here is the background: Cmdlets are implemented by subclassing a...