Welcome to TechNet Blogs Sign in | Join | Help

Finally! A scripting language that dummies can understand: Windows PowerShell

Hi All

So I have belatedly discovered something that Microsoft has recently released: Windows PowerShell.

 So cool, this is a scripting language that you can use to manage your infrastructure with. Remember writing and debugging those monstrous wscripts? That was one thing that I tried hard to avoid while I wore my admin hat back in Server Girl days. The advantage of PowerShell is that it is very intuitive. For example, commands such as get-service, stop-process. So much better than net start, blah blah.

 It has this really cool utility where you can test your script before you run it, called WhatIf. So if you are about to stop a service, it will show you what other services will be stopped/affected by that action.

And it has this cool ability to do graceful error handling, where if you are running a script, and one thing in it fails, the whole script doesn't fail.

AND you can still use it with your existing scripts.

 Microsoft has put a lot of thought into this, you can tell, because even the laziest of admins (like me) can adopt it fast.

They have even used it for the exclusive management tool for Exchange 2007 (yep, you can wrap a GUI over the commandlets!).

So go check it out if you HATE to SCRIPT.

Here is the PowerShell site on Microsoft.com

http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx

 

PowerGadgets website:

http://www.powergadgets.com/

 

PowerShell Download:

http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx

 

PowerShell SDK:

http://msdn2.microsoft.com/en-us/library/ms714469.aspx

 

Channel 9 Video: Managing IIS7 with PowerShell

http://channel9.msdn.com/Showpost.aspx?postid=256994

 

Script Repository for PowerShell:

http://www.microsoft.com/technet/scriptcenter/scripts/msh/default.mspx?mfr=true

 

Scott Hanselman’s blog has all kinds of neat stuff about PowerShell (click on the PowerShell category)…

http://www.hanselman.com/blog/default.aspx

 

 

Published Tuesday, January 23, 2007 5:59 PM by beth.patton
Filed under:

Comments

Tuesday, January 23, 2007 8:19 PM by boredatworkKiwi

# re: Finally! A scripting language that dummies can understand: Windows PowerShell

you have GOT to be kidding!!!

From my first look, powershell seems very powerful. Extremly useful. Something I have got to come to gripes with.

But a shell for dunmies?? I'd rather teach a new student or my mum BASH or Korn than try to introduce the OO nature of powershell. It might be a simple shell for the likes of Mark Rasonovich [sp - sorry mark] but to mere mortals without a long term background in VB or C# it is TOUGH.

Now if you DO know what you're doing with C# (I don't) then it might be basic and obvious. But very very quickly you get beyond the get-this easy stuff you mention and then things get murky pretty darn quick.

I am rapt that finally MS has discovered a pipe that works tho.

Don't get me wrong - PS looks like a very Good Thing. But don't kid yourself that it's easier than the braindead cmd shell it replaces. It's not.

Anonymous comments are disabled
 
Page view tracker