This recently developed command-line shell and scripting language is specifically designed for automating system administration tasks. This powerful tool, built on the .NET Framework, empowers both IT professionals and developers to efficiently manage and automate various operations related to Windows and applications.
Windows Powershell is an addition to the old DOS program that is still a part of wiondows. Even in Vista, we can use DOS commands. The only difference being 32 bit operation. Now, DOS shell is used only by system administrators and power users who want to change advanced system settings or use programs like telnet, ftp, etc. It can be run as a separate program or by typing "powershell" in DOS. But all the same. Its just like a part of DOS.
Powershell is a tool which improves its functionality even further. It has a powerful set of tools and commands which can be used for system administration and automation. Previously, we were using JScript ( Java Script ) and VB Script for this purpose. Here, its all available in powershell. It is also more secure than the Java Script and VB Script.
Windows PowerShell is easy to learn, and use. Anyone with a prior knowledge on how to run dos commands can learn this.
Powershell is Object Oriented.
In powershell, any command or variable is called "commandlet", a type of object.
Eg:-
Get-Process
-lists all runnig processes
Get-Process
-stops the process specified.
One example of its power!
Get-Process | Stop-Process more
Comments (4)