Menu

Windows7Prep

Windows 7

Windows 7 includes PowerShell 2. You need PowerShell 3 or later for the WebHub appliance PowerShell scripts. Almost every script references $PSScriptRoot and that does not work in PowerShell 2.

Use this to check your PowerShell version by pasting this into your PowerShell editor:

~~~~
echo ('"PowerShell Version" "' + $PSVersionTable.PSVersion + '"')
~~~~

On Windows 7, you will probably see the answer as

~~~~
"PowerShell Version" "2.0"
~~~~

As of February 2015, PowerShell 4 is available. Search google for "windows management framework 4" and you should find the download link on Microsoft. http://www.microsoft.com/en-us/download/details.aspx?id=40855

Reference:
http://blogs.technet.com/b/heyscriptingguy/archive/2013/06/02/weekend-scripter-install-powershell-3-0-on-windows-7.aspx


Related

Wiki: Home
Wiki: StartingPointWin2012Essentials

MongoDB Logo MongoDB