Group:  English: General ยป microsoft.public.windows.powershell
Thread: equivalent of on error resume next

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

equivalent of on error resume next
"IT Staff" <jkklim[ at ]hotmail.com> 13.07.2007 02:04:34
What is the powershell of "on error resume next"

What are the error cmdlets i can note of ?


Re: equivalent of on error resume next
"Brandon Shell" <tshell.mask[ at ]mk.gmail.com> 13.07.2007 02:49:04
There are three variables that maintain error information.
$error = maintains the last x number of errors
$ErrorActionPreference = What happens on error
$ErrorView = Verbosity of errors

You can also use trap.

Good Info on Error Handling
http://blogs.msdn.com/powershell/archive/2006/04/25/583241.aspx
http://blogs.msdn.com/powershell/archive/2006/06/21/641010.aspx
http://msdn2.microsoft.com/en-us/library/ms714414.aspx

"IT Staff" <jkklim[ at ]hotmail.com> wrote in message
news:OSr8qIPxHHA.1484[ at ]TK2MSFTNGP06.phx.gbl...
[Quoted Text]
> What is the powershell of "on error resume next"
>
> What are the error cmdlets i can note of ?
>

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net