Skip to content

Install Powershell V2

EdVassie edited this page Feb 22, 2021 · 2 revisions
Previous Install Powershell V1 Manual Install Install Windows 2003 KB925336 Next

FineBuild can install and configure Powershell V2 as part of the SQL Server install process.

It is recommended that the latest stable version of Powershell is always installed on your operating system. For Windows 2008 R2 and below this is Powershell V2. For Windows 2012 and above this is Powershell V3 or a later version.

Powershell V3 is available for Windows 2008 R2 and below, but significant problems have been reported with Powershell V3 for older versions of Windows. Because of these problems SQL FineBuild does not install Powershell V3 on Windows 2008 R2 and below.

The required version of Powershell is included in the Windows install for Windows 2008 R2 and above, so the Powershell install within SQL FineBuild only relates to Windows 2008 and below. FineBuild will always install Powershell V2 if Powershell is missing and if the install media is available.

For some versions of Windows the install media for Powershell V2 must be downloaded, for others the install media is included. The table below shows when you must do a download.

Operating system Express Edition Other Editions
Windows 2008 R2 or above Included Included
Windows 2008 or below Download Download

Download for Windows 2008 R2 or above

This covers Windows 7, Windows 2008 R2 and Windows 8

If you are installing on windows 2008 R2 or above, then Powershell V2 or above is built in to this version of Windows. No download or install is needed.


Download for Windows 2008 or below

This covers Windows XP, Windows 2003, Windows Vista and Windows 2008

Powershell V2 is part of Windows Management Framework. All files from the link below should be downloaded from the location below and put in to the Additional Components folder.

Component Location
Windows Management Framework download https://support.microsoft.com/kb/968930

If you install Powershell V2 you must also Install .Net 3.5. If you are installing on Windows Vista or Windows 2008 you must also Install Windows Installer 4.5.


FineBuild Powershell V2 Install

Automated silent installation of Powershell V2 is performed by Process Id 2AJ and is controlled by the parameters below:

SQL Version Parameter FULL Build WORKSTATION Build CLIENT Build
SQL2019 /SetupPS2: N/A N/A N/A
SQL2017 /SetupPS2: N/A N/A N/A
SQL2016 /SetupPS2: N/A N/A N/A
SQL2014 /SetupPS2: Yes Yes Yes
SQL2012 /SetupPS2: Yes Yes Yes
SQL2008R2 /SetupPS2: Yes Yes Yes
SQL2008 /SetupPS2: Yes Yes Yes
SQL2005 /SetupPS2: Yes Yes Yes

In order to maintain compatibility with older versions of SQL FineBuild, the parameter InstPS2 can also be used.

FineBuild will always install Powershell V2 if the install media is available and a more recent version of Powershell has not already been installed..

Top


Manual Powershell V2 Install

The following steps show what you would have to do to install Powershell V2 manually. FineBuild does all of this work for you automatically.

  1. Navigate to the Additional Components folder

    Double-click on the following file:

    Windows Version File
    Windows XP 32-bit WindowsXP-KB968930-x86-ENG.exe
    Windows 2003 32-bit WindowsServer2003-KB968930-X86-ENG.exe
    Windows 2003 or XP 64-bit WindowsServer2003-KB968930-X64-ENG.exe
    Windows Vista or Windows 2008 32-bit Windows6.0-KB968930-X86.msu
    Windows Vista or Windows 2008 64-bit Windows6.0-KB968930-X64.msu

    Explorer

  2. The Welcome window is displayed

    Click Next to continue

    Welcome

  3. The License window is displayed

    Accept the License Agreement and click Next to continue

    License

  4. Wait while Powershell V2 is installed

    Progress

  5. Powershell V2 has been installed

    Click Finish to end

    Finished

Copyright FineBuild Team © 2011 - 2021. License and Acknowledgements

Previous Install Powershell V1 Top Install Windows 2003 KB925336 Next

Key SQL FineBuild Links:

SQL FineBuild supports:

  • All SQL Server versions from SQL 2019 through to SQL 2005
  • Clustered, Non-Clustered and Core implementations of server operating systems
  • Availability and Distributed Availability Groups
  • 64-bit and (where relevant) 32-bit versions of Windows

The following Windows versions are supported:

  • Windows 2022
  • Windows 11
  • Windows 2019
  • Windows 2016
  • Windows 10
  • Windows 2012 R2
  • Windows 8.1
  • Windows 2012
  • Windows 8
  • Windows 2008 R2
  • Windows 7
  • Windows 2008
  • Windows Vista
  • Windows 2003
  • Windows XP
Clone this wiki locally