Skip to main content

Posts

Showing posts from January, 2012

GUI Editors for Powershell

What !!!!......I thought Powershell was a CLI Environment. Well the problem with the huge user base of Windows is that all the users (even those calling themselves as Admins) are a slave of Graphical Interfaces. Pop up a Powershell to a Windows Admin (experienced ones) and he has no idea what to do..... So the big guys at M$ came up with the Powershell ISE to ease the learning curve for those users and there are many GUIs now available for PoSh (who saw that coming :P ). Powershell Integrated Scripting Environment Go to Start and type "powershell ise" click on the top result and you are presented with a following screen. Now this GUI has a Ouput, Command, and Script pane. Read the help for more info. PowerGUI  Another great GUI tool for Powershell is PowerGUI from Quest Software. This GUI beats the Powershell ISE any day. I personally use this as it is the best free and has a huge community support. Go to http://www.powergui.org to get yourself  one.

The offline key to learning Powershell

 get-help I have been reading a lot about Powershell and Powershell Community has helped me a lot in various problems that I faced. There are lots of books and blogs available. But what if i have just powershell installed and no Internet connectivity...........then the only thing that comes to rescue is the " get-help " cmdlet ( commands referred as cmdlets in PoSh ) Now, it is pretty basic and has helped a beginner like me a lot. So how do i know how to use get-help ? Well the answer is simple, key in this get-help get-help Now try this get-help about* This lists all the about examples shipped with Powershell. These examples are very informative. Now, if you read the get-help's help then you know what to do...when you want to know about a new cmdlet...but wait how you discover all cmdlets in Powershell Key in this to  know how to discover new cmdlets. get-help get-command Few useful links: www.powershellpro.com  --- has got great tu
Real Power Shell lies in Objects The very first thing about Powershell which takes geeks by awe is that every cmdlet (same as command) in PS returns Object based ouput rather than text-based. Though this is the major reason for the success of Powershell but i think that Microsoft has done a great job integrating all the best things available as of now , just to name a few piplining, interpolation from Unix and programmatic constructs of Perl, Python and many more. Powershell gives geek a way to finally be free of the GUI but the question is do we really want to be free of the Graphical UI ? Another thing that is worth appreciating is that finally Microsoft is able to give users (say admins) the well documented help....Ohh! that was a long wait. Key in "get-help get-help -detailed" for how to use get-help. The commands referred to as cmdlets in Powershell are of a standard naming convention "verb-noun" now this is simple but is pretty awesome feature.....s
This is the #1 post for "Powershell for Freedom" blog. There's a reason for this name to blog. Hoping PS sets me free.