Powershell Installation


Installing PowerShell is as simple as installing any other application. Even simpler, as it comes installed with Windows Vista, Windows 7, Windows Server 2008 R2, Windows 8 and Windows Server 8. PowerShell is also available for previous versions Windows XP and 2003.

Download link

Windows PowerShell 2.0 Software Development Kit (SDK)

PowerShell Installation

Modern operating system have PowerShell built-In, just go to the Control Panel, Programs, 'Turn Windows feature on'. However, for older OS you need to download PowerShell from Microsoft's site.

Here are the three stages to get up and running with Windows PowerShell:
1) Download, then install the latest .Net Framework.
2) Get a copy of PowerShell.
3a) Once you have installed the downloaded executables, press the Windows key +r, this launches the Run command (even in Vista), now type in the dialog
box: PowerShell. Visit Microsoft's Windows PowerShell download center
3b) Better still, if you have PowerShell 2.0 or later, seek out the ISE (Integrated Scripting Engine) version.
You will love powershell because it is a friendly new scripting language for administering Windows and Exchange servers. In particular, it makes tasks such as interrogating WMI objects easier and all dotnet framework objects. Moreover, one day PowerShell will be Microsoft's standard scripting shell, meanwhile my PowerShell tutorials will make it easier for you to configure Exchange, and also Active Directory in Windows Server.

Command to get powershell version

Execute below command to know powershell version
$host.version

Major Minor Build Revision
----- ----- ----- --------
2 0 -1 -1

Note: You can identify version at the top powershell window.

Example

PS C:\> $PSVersionTable
Name Value
---- -----
WSManStackVersion 3.0
PSCompatibleVersions {1.0, 2.0, 3.0}

Copy and Try it