Identify The SharePoint Build Number

At times we may have to know the SharePoint Build and Revision number to plan the Cumulative updates that has to be applied to the server. We can identify the version number using PowerShell as well as through browser.

We can run the below command to get the build number of the current SharePoint Server.

  1. $SPFarm = Get-SPFarm  
  2.   
  3. $SPFarm.BuildVersion  

Running it in SharePoint 2013 Server yields the below results:


In SharePoint 2016 we can get the Build number and Revision number similarly:


Once the Version numbers are obtained we can cross check the Build Number against the Build Matrix given in the below TechNet Links.

SharePoint 2010 Build Numbers: TechNet Link

SharePoint 2013 Build Numbers: TechNet Link

SharePoint 2016 Build Numbers: TechNet Link

We can also get the build number through browser. Appending '_vti_pvt/buildversion.cnf' to the web application URL will give us the build number in the browser. In SharePoint 2013 the build number will be of the format '15.0.BuildNumber.RevisionNumber'


In SharePoint 2016, the browser will yield the result in the format '16.0.BuildNumber.RevisionNumber'.


Buildversion.cnf is a file located in the inetpub location of the Web application Virtual directory at:

'C:\inetpub\wwwroot\wss\VirtualDirectories\PortNumber\_vti_pvt'


Summary

Thus we saw how to identify the SharePoint Build Number of the current installation.