From: Storer, R. <st...@ni...> - 2010-10-28 17:08:17
|
David, I found these two resources on PowerShell v1 error handling very helpful; so, I thought I'd share. Try/catch/finally ( sort of ) http://weblogs.asp.net/adweigert/archive/2007/10/10/powershell-try-catch-finally-comes-to-life.aspx Trap http://huddledmasses.org/trap-exception-in-powershell/ Ray CONFIDENTIALITY NOTICE: This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify us immediately by return email and promptly delete this message and its attachments from your computer system. We do not waive attorney-client or work product privilege by the transmission of this message. |