Showing results for ERROR - PowerShell Team

Jul 13, 2009
Post comments count0
Post likes count0

Advanced Debugging in PowerShell

PowerShell Team
PowerShell Team

Here is a collection of tips and tricks to debug PowerShell Read UpThere is a 7-part series of “Debugging Monad Scripts” that Jon Newman wrote a few years ago that covers a lot of tips, including error handling, traps, tracing, and covers a lot of V1 stuff. Clean codeThe best route, is to make sure code is clean, and common errors are caught. To do...

PowerShell V2PowerShell ISERemoting
Dec 29, 2006
Post comments count0
Post likes count0

Documenting TRAP and THROW

PowerShell Team
PowerShell Team

We pride ourselves about being a bit overboard when it comes to Error handling.  That is why our sparse (non-existing?) documentation of THROW and TRAP handling is both ironic and sad.  10,000 apologizes for that, we'll fix it in the next release.  In the mean time, it's Don Jones amd Jeffery Hicks to the rescue.  Don...

DOCUMENTATIONERROR
Jun 21, 2006
Post comments count0
Post likes count0

$ERRORVIEW="CATEGORYVIEW"

PowerShell Team
PowerShell Team

<Edited 7/2/2006 with tags and categories>PSMDTAG:FAQ: What is $ErrorView?PSMDTAG:FAQ: How do I get error details? Have you tried out $ErrorView="CategoryView" yet?  Remember -  errors are just objects.  Given that they are objects, we render a subset of their properties to the console.  We provide 2 views: Normal an...

FAQPHILOSOPHYERROR