Get SharePoint 2010 Buld Version

Here’s a quick PowerShell Scrip that will pop-up a message box with the SharePoint 2010 Farms build number. It’s assuming you’ve already added the snap-in microsoft.sharepoint.powershell.

$farm = Get-SPFarm
$version = $farm.buildversion
#Write-Host “Farm Build Version is: ” $version
[System.Reflection.Assembly]::LoadWithPartialName(“System.Windows.Forms”)
[System.Windows.Forms.MessageBox]::Show(“Farm Build Number: $version”)

Advertisements