Introducing PowerShell (MSH) — Windows answers to linux shell?


Written by Pavs on July 31st, 2007



PowerShell is built on top of the .NET Framework and replaces the old process of using text to pass data like the current CMD shell. PS is a scriptable language that provides an alternative to the manual changes you make through a GUI. It is more powerful than Perl or WSH, although those two technologies can help with automating a lot of tasks. Let’s look at what PS is and is not and hopefully it will help clear things up a bit.

Powershell

is NOT a programming languge like C## et al.
is a scripting language like VBS, WSH, Perl
is NOT a replacement for CMD.EXE - is an administrative tool
is NOT going to replace all your system administration tools
is going to change the way you administrate your network
(Source)

You can download powershell from here: http://www.microsoft.com/technet/scriptcenter/topics/msh/download.mspx

After installing it, go to start–> run –> powershell.

untitled

It even has same commands and looks of a linux shell:

untitled

List of some of it’s commands, you can seem by typing help on the shell prompt.

untitled

Using Unix shell like terminology:

untitled

Powershell is making it’s debut as part of an operating system in Windows Server 2008, Is this another step for MS towards server dominance? Even though they are happily copying Linux features in it’s commercial products.

http://www.iaps.com/2007-server-hardware-and-os-survey.html

Cheers,
Pavs





Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word