Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » ERROR   (RSS)

Documenting TRAP and THROW

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
Posted by PowerShellTeam | 8 Comments
Filed under: ,

ErrorLevel equivalent

PSMDTAG:FAQ: ErrorLevel - what is the PowerShell equivalent? In Cmd.exe, %ErrorLevel% is a builtin variable which indicates the success or failure of the last executable run. In PowerShell, we support: $? Contains True if last operation succeeded and
Posted by PowerShellTeam | 4 Comments
Filed under:

$ERRORVIEW="CATEGORYVIEW"

<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
Posted by PowerShellTeam | 3 Comments
Filed under: , ,
 
Page view tracker