Welcome to MSDN Blogs Sign in | Join | Help

Doug Finke's Amazing 7 Minute C# => PowerShell Demo

Doug Finke has just posted a blog entry HERE with an awesome 7 minute video demo HERE.  I HIGHLY recommend this as a great use of 7 minutes of your life (or as Doug points out, you can type Ctrl-Shift-G to speed it up and it will be a great use of 4-5 minutes of your life :-) )

In the demo, he starts out writing and running some C# code. He then takes advantage of the new PowerShell V2 feature Add-Type to run this code from a PowerShell script.  Then, step by step, he transform the original C# code into PowerShell and ends up with a single line of PowerShell.  Each step produces a running PowerShell script and it nicely illustrates what I love about PowerShell - how the language carves away all the syntatics crap and allows you to focus your thoughts and energies on WHAT you want to do.

 Very nicely done Doug.  What a great way to start the day.

Jeffrey Snover [MSFT]
Windows Management Partner Architect
Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

Published Wednesday, May 14, 2008 2:19 PM by PowerShellTeam

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Dew Drop - May 15, 2008 | Alvin Ashcraft's Morning Dew

Thursday, May 15, 2008 8:42 AM by Dew Drop - May 15, 2008 | Alvin Ashcraft's Morning Dew

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker