Try/catch in Powershell

Since Powershell has no built in function for try/catch, error handling can get a bit tricky Adam Weigert has published a nice try/catch function that makes it a whole lot easier: http://weblogs.asp.net/adweigert/archive/2007/10/10/powershell-try-catch-finally-comes-to-life.aspx

Advertisements

4 Responses to Try/catch in Powershell

  1. Hi there, You’ve done a great job. I will definitely digg it and personally recommend to my friends. I am confident they will be benefited from this site.

  2. jaguar says:

    Are you on Google plus or Facebook? Would love to follow
    your latest posts or videos.

  3. Awesome article dude. Can not wait for your upcoming one.

  4. youtube.com says:

    Great article. I feel I to start out composing blogposts once again

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: