<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>PowerShell: Try...Catch...Finally Comes To Life</title><link>http://weblogs.asp.net/adweigert/archive/2007/10/10/powershell-try-catch-finally-comes-to-life.aspx</link><description>So, PowerShell has some good error handling, but being so used to .NET, I really missed my Try...Catch...Finally statements. Especially when I needed to make sure a block of code always executed. Well, after some playing, I think I have the solution!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>MSDeploy Powershell Scripts Part II – Exceptions And Remote Server Syncs</title><link>http://weblogs.asp.net/adweigert/archive/2007/10/10/powershell-try-catch-finally-comes-to-life.aspx#7238301</link><pubDate>Sat, 24 Oct 2009 22:29:39 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7238301</guid><dc:creator>JC Blogs</dc:creator><author>JC Blogs</author><description>&lt;p&gt;In this blog I will show how to script syncing remote servers and add some useful exception handling&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7238301" width="1" height="1"&gt;</description></item><item><title>Try/catch in Powershell &amp;laquo;  Martin&amp;#039;s Wonderful World of Exchange</title><link>http://weblogs.asp.net/adweigert/archive/2007/10/10/powershell-try-catch-finally-comes-to-life.aspx#7182781</link><pubDate>Thu, 27 Aug 2009 07:20:07 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7182781</guid><dc:creator>Try/catch in Powershell «  Martin's Wonderful World of Exchange</dc:creator><author>Try/catch in Powershell «  Martin's Wonderful World of Exchange</author><description>&lt;p&gt;Pingback from &amp;nbsp;Try/catch in Powershell &amp;amp;laquo; &amp;nbsp;Martin&amp;amp;#039;s Wonderful World of Exchange&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7182781" width="1" height="1"&gt;</description></item><item><title>Try/catch in Powershell &amp;laquo;  Martin&amp;#039;s Wonderful World of Exchange</title><link>http://weblogs.asp.net/adweigert/archive/2007/10/10/powershell-try-catch-finally-comes-to-life.aspx#7182780</link><pubDate>Thu, 27 Aug 2009 07:18:07 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7182780</guid><dc:creator>Try/catch in Powershell «  Martin's Wonderful World of Exchange</dc:creator><author>Try/catch in Powershell «  Martin's Wonderful World of Exchange</author><description>&lt;p&gt;Pingback from &amp;nbsp;Try/catch in Powershell &amp;amp;laquo; &amp;nbsp;Martin&amp;amp;#039;s Wonderful World of Exchange&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7182780" width="1" height="1"&gt;</description></item><item><title>Use PowerShell &amp;raquo; Deep Dive: Error Handling &amp;ndash; Error Types (part 1)</title><link>http://weblogs.asp.net/adweigert/archive/2007/10/10/powershell-try-catch-finally-comes-to-life.aspx#7152071</link><pubDate>Tue, 21 Jul 2009 12:03:33 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7152071</guid><dc:creator>Use PowerShell » Deep Dive: Error Handling – Error Types (part 1)</dc:creator><author>Use PowerShell » Deep Dive: Error Handling – Error Types (part 1)</author><description>&lt;p&gt;Pingback from &amp;nbsp;Use PowerShell &amp;amp;raquo; Deep Dive: Error Handling &amp;amp;ndash; Error Types (part 1)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7152071" width="1" height="1"&gt;</description></item><item><title>Links 2009-03-07</title><link>http://weblogs.asp.net/adweigert/archive/2007/10/10/powershell-try-catch-finally-comes-to-life.aspx#6943913</link><pubDate>Sat, 07 Mar 2009 15:05:04 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6943913</guid><dc:creator>Community Blogs</dc:creator><author>Community Blogs</author><description>&lt;p&gt;SharePoint Performance Optimizations for Large Programmatic User Profile Imports SharePoint Feature:&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6943913" width="1" height="1"&gt;</description></item><item><title>Using IDisposable Objects in PowerShell &amp;laquo; Second Stanza</title><link>http://weblogs.asp.net/adweigert/archive/2007/10/10/powershell-try-catch-finally-comes-to-life.aspx#6808244</link><pubDate>Sun, 28 Dec 2008 03:51:52 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6808244</guid><dc:creator>Using IDisposable Objects in PowerShell « Second Stanza</dc:creator><author>Using IDisposable Objects in PowerShell « Second Stanza</author><description>&lt;p&gt;Pingback from &amp;nbsp;Using IDisposable Objects in PowerShell &amp;amp;laquo; Second Stanza&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6808244" width="1" height="1"&gt;</description></item><item><title>Gestion des erreurs...</title><link>http://weblogs.asp.net/adweigert/archive/2007/10/10/powershell-try-catch-finally-comes-to-life.aspx#6783819</link><pubDate>Sun, 14 Dec 2008 11:30:43 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6783819</guid><dc:creator>PowerShell sur Technet et en français</dc:creator><author>PowerShell sur Technet et en français</author><description>&lt;p&gt;La gestion des erreurs avec PowerShell V1 ne dispose pas des options &amp;amp;#233;volu&amp;amp;#233;es de type try/catch/finally&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6783819" width="1" height="1"&gt;</description></item><item><title>Try/Catch/Finally with Powershell</title><link>http://weblogs.asp.net/adweigert/archive/2007/10/10/powershell-try-catch-finally-comes-to-life.aspx#6657979</link><pubDate>Sun, 05 Oct 2008 00:10:30 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6657979</guid><dc:creator>Chad Boyd</dc:creator><author>Chad Boyd</author><description>&lt;p&gt;I ran across Adam Weigert&amp;amp;#39;s posting/script that provides a PoSh script that allows try/catch/finally&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6657979" width="1" height="1"&gt;</description></item><item><title>Multi-Purpose PowerShell Using Function &amp;laquo; Solutionizing .NET</title><link>http://weblogs.asp.net/adweigert/archive/2007/10/10/powershell-try-catch-finally-comes-to-life.aspx#6637391</link><pubDate>Sun, 21 Sep 2008 22:42:33 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6637391</guid><dc:creator>Multi-Purpose PowerShell Using Function « Solutionizing .NET</dc:creator><author>Multi-Purpose PowerShell Using Function « Solutionizing .NET</author><description>&lt;p&gt;Pingback from &amp;nbsp;Multi-Purpose PowerShell Using Function &amp;amp;laquo; Solutionizing .NET&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6637391" width="1" height="1"&gt;</description></item><item><title>PowerShell: Adding the Using Statement</title><link>http://weblogs.asp.net/adweigert/archive/2007/10/10/powershell-try-catch-finally-comes-to-life.aspx#6571856</link><pubDate>Wed, 27 Aug 2008 16:01:48 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6571856</guid><dc:creator>The Technical Adventures of Adam Weigert</dc:creator><author>The Technical Adventures of Adam Weigert</author><description>&lt;p&gt;So, I happened to come across a need for the using statement from C#. I basically didn't want to use&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6571856" width="1" height="1"&gt;</description></item></channel></rss>