Just run it in the console.
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin cinst powershell
He installs the latest version using the Chocolatey repository.
I originally used the cinst powershell 3.0.20121027 , but it looks like it later stopped working. Since this question is related to PowerShell 3.0, this was the right way. At the moment (June 26, 2014) cinst powershell belongs to version 3.0 of PowerShell, and this may change in the future.
For more information about which version will be installed, see "Service Package> ChocolateS PowerShell Package >.
majkinetor Nov 11 2018-12-11T00: 00Z
source share