Home > Work > Finding a SharePoint Farm build version

Finding a SharePoint Farm build version

At some point you will need to know the build version of your SharePoint 2010 system, this might be for patching, feature checking or even raising a ticket with Microsoft.

In the world of SharePoint 2007 you could get the build number from any site collection administration page, (not really, that’s the content database schema build number, if you have a 2007 farm and the build number changes between site collections then some of your content db’s have not been updated and you need to rerun the config wizard)

In the world of 2010, build versions are now displayed in Central Administration under Upgrade and Patch Management > Check Product and Patch Installation Status.

image

You are then presented with a list of the installed components in your farm and their installed version and install status, from this list you will look for the highest install version number, and that will be your build, Service Pack or CU number depending on your patch status.

There is also a neat little link at the top of the page that will take you to the SharePoint 2010 updates page.

image

but there is also a neat way to get the same information from Power Shell with 3 simple lines

image

 

Simply open the SharePoint 2010 Management Shell and type the 3 lines as above, to simplify matters even further you can put the 3 lines into a notepad file, save this with a .ps1 extension in your documents folder and you call it directly from within Power Shell.

 

image

In this example I called the script Get-Version.ps1, then I can call it directly from PowerShell

image

Simple.

About these ads
Categories: Work
  1. March 1, 2012 at 07:41

    Great find, I’m going to have to check this one out. Thanks for sharing.
    Very informative….

  2. pwmather
    March 6, 2012 at 17:13

    An even shorter PowerShell command from the SharePoint Management Shell would be:

    Get-SPfarm | select buildversion

  1. March 1, 2012 at 13:54
  2. March 1, 2012 at 13:58
  3. March 9, 2012 at 12:25

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 1,679 other followers

%d bloggers like this: