good bye to cmd.exe with the new replacement from microsoft’s windows powershell
September 3, 2008 Tags :microsoft | new command prompt | power shell today | Windows
If you ask any windows user a question like this, “Will you leave command prompt when you are given other tools ?”. They will reply “why not, If there were more powerful tools than present using command prompt” we will definitely change. Yes now windows users have more powerful tool than command prompt with more powerful features. If you are enthusiastic to know about that tool, then this is the correct place to know about it. The tool is called ” Windows Power shell Today” from Software giant, Microsoft. Power shell Today is a powerful command line shell and is based on Task based scripting technology. If anybody here used both Unix shell and windows command prompt will surely tell unix shell is a great tool than windows command prompt. To cover this microsoft has made this tool which brings unix style shell scripting to windows platforms but only to Windows xp, Windows 2003, Windows vista.
Normally Unix comes with a powerful feature Pipeline which combine two commands. Microsoft implements pipeline in its New Power shell today. This Pipeline (here how to use it [dir | >store.txt]. This will store the names of directories and files in current drive to a text file) implemented in power shell today solve storage problems quickly. For example how many cds (take 800 cds) are needed to back up 11GB? . This problem can be solved by simple command in power shell like 11GBMB/700MB. Think Power shell as the integration of windows command prompt and VBScript.
Now Another powerful feature of Unix is wildcards. Microsoft has implemented this in its Power Shell Today for windows.You can also use Working objects too in this Power shell.
Here is an another important thing to know another thing. Power Shell is not new one, It is old and is known as Microsoft command shell or MSH and Windows Monad.
Requirements:-
You need to download Microsoft’s .NET Framework 2.0 Before installing Power Shell Today. You can download here .NET Framework 2.0 .
New Features:-
- (Whatif) by using this command you can test your command before you commit to execute the command
- Stop and Start Transcripts of all your commands
- you can access applications such as Windows Media Player using “Win Pow” command.
- Configuring user accounts will be made easy by using this command; set-itemproperty -path HKLM:\SOFTWARE\MICROSOFT\WINDOWS\CurrentVersion\Policies\System -name ConsentPromptBehaviorAdmin -value 0 . Here the last one 0 will turn of user administrator account off and 2 will turn it back.
More about power shell will be demonstrated in this video.
Powershell tutorial.
If you are unable to see then copy the below link to address bar.
http://channel9.msdn.com/Search/Default.aspx?Term=windows%20power%20shell.

Comments
Leave a Reply