Get SharePoint Farm Build version quickly

 

A lot of times I login into a test machine and I need to know which version of SharePoint Server is installed on the box. The easiest way to get this

information is to open the “SharePoint PowerShell management shell” and run this command

PS C:\Users\SQLCL01> Get-SPFarm | Select BuildVersion

BuildVersion
------------
14.0.XXXX.XXXX

You can find also find this information in the registry

Look for key named “Version” in these paths to get the build version

SOFTWARE\Microsoft\Office Server\12.0 or 14.0 or SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0 or 14.0

Hope this helps some of you.

Comments

  • Anonymous
    July 02, 2015
    Beware of weird build numbering! On SharePoint Server 2013 SP1 CU201412 is 15.0.4675.1000 (15.0.4571.1502 is SP1 mk2): PS:> Get-ChildItem 'HKLM:\SOFTWAREMicrosoftOffice Server' Name                      Property ----                           -------- 15.0                        BuildVersion    : 15.0.4571.1502 PS:> Get-ChildItem 'HKLM:\SOFTWAREMicrosoftShared ToolsWeb Server Extensions' Name                      Property ----                           -------- 14.0 15.0                        SharePoint      : Installed                               Version            : 15.0.0.4675 All Ports Ports 15.0.0.4675 looks suspiciously like a malformed 15.0.4675.1000.......