Sunday 13 July 2014

SharePoint 2010 Build Number


Function Get-SharePoint2010Version
{
[string] (Get-Item -LiteralPath "HKLM:\Software\Microsoft\Office Server\14.0" -ErrorAction "SilentlyContinue" | % {$_.GetValue("BuildVersion", $null)} )
}
or
$farm=Get-SPFarm
$farm.BuildVersion