Windows Powershell in Windows 7(Ultimate) and its Use in Windows

Asked By 40 points N/A Posted on -
qa-featured

I came across Windows PowerShell in Windows 7 and I am curious to know that is it and why is it used. It looks similar to cmd but I want to know what makes it different from cmd. Can this be used to Compile the Programs? Please respond as soon as possible.

SHARE
Answered By 590495 points N/A #140611

Windows Powershell in Windows 7(Ultimate) and its Use in Windows

qa-featured

Basically, the Windows PowerShell is a configuration management framework and task automation which includes an associated scripting language created on the .NET Framework and a command-line shell. The CMD or simply cmd.exe is the Windows command prompt. It is the command-line interpreter in OS/2, Windows CE, and Windows NT operating systems like for example Windows 2000 and higher.

The Windows PowerShell is a new command-line environment introduced in Microsoft Windows 7. The Windows command prompt or CMD and the Windows PowerShell are both command-line shells and command-line interpreters. It’s just that Windows PowerShell is more powerful command-line shell and scripting language than the other and more complicated. The Windows PowerShell can execute 4 kinds of named commands: cmdlets, PowerShell scripts, PowerShell functions, and standalone executable programs.

Cmdlets are programs created on Microsoft .NET Framework designed to interact with PowerShell. The PowerShell scripts are files with “.ps1” extension name. If you’ll compare Windows command prompt with Windows PowerShell, they are very different. Various system administration tasks like managing the registry or using the Windows Management Instrumentation [WMI] are exposed through PowerShell cmdlets which, on the other hand, are not accessible from the command prompt.

Related Questions