Introduction to PowerShell


For those of you who have lots of time to try all the new things, this will be old hat, but tonight I spent a bit of time installing and trying out PowerShell for the first time.

PowerShell is Microsoft's new command-line / scripting language. They recently released RC1 (Release Candidate #1) which I downloaded and installed. PowerShell has some lofty goals, but as I see it, it is looking to become the Windows equivalent to the powerful Unix/Linux command line shells. A replacement for the existing command prompt that will give us the ability to write scripts, leverage the .NET framework, and access most of the core items on your PC. I've seen samples to read RSS feed, open applications, check processes, access the registry, and much more.

Here are a few links to get you started:

a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=2B0BBFCD-0797-4083-A817-5E6A054A85C9&displaylang=en"PowerShell RC1 Download/a><br /> <a href="http://www.manning.com/payette/"PowerShell in Action: Welcome to PowerShell (Chapter 1 of new book on PowerShell)
a href="http://www.hanselman.com/blog/CommentView.aspx?guid=a58fb902-1b63-47ad-83ea-1bc6c1ebc7cc#commentstart"Scott Hanselman - Loving Monad (Monad is the old codename for PowerShell)

The sample chapter is a very nice introduction. It made me wish I could just work through the book now, but I'm sure I'll find tons of documentation on the web as I find time to work with it more.

It brings me back to my Unix and DOS days. I have really missed having a command line with some power to it. You had the feeling you could do anything from the prompt and with simple scripting the sky was the limit.

I wonder if this will really take off for Microsoft though. Developers who take the time to dig into PowerShell will likely really enjoy it. Administrators who came over from the Unix/Linux world will likely be pretty excited as well. However, I believe there is a large group of Windows Admins and Techs who have never worked with anything prior to NT 4.0 and Windows 9x. This large group will have a tough learning curve ahead and might decide it just isn't worth the effort. They might never take advantage of all the goodness PowerShell has to offer.