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