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.