Get SharePoint 2010 version
2013-04-03 15:52
441 查看
Get SharePoint 2010 version with PowerShell
As part of the summary script I use the following code to get the SharePoint 2010 build version. This identifies which CU or Service Pack has been installed.There are a couple of ways for getting the build version:
1. Using Central Administration
It is of course possible to get the build version using central administration by going to ‘Central Administration –> System Settings –> Manage servers in this farm’
![](http://www.maartenpeeters.nl/MyBlog/wp-content/uploads/2012/05/image_thumb.png)
2. Using get-spfarm
You can use the following line of code to get the buildversion
get-spfarm | select BuildVersion |
![](http://www.maartenpeeters.nl/MyBlog/wp-content/uploads/2012/05/image_thumb1.png)
3. Using [Microsoft.SharePoint.Administration.SPFarm]::Local
This command outputs the same values as get-spfarm.
([Microsoft.SharePoint.Administration.SPFarm]::Local).buildversion |
![](http://www.maartenpeeters.nl/MyBlog/wp-content/uploads/2012/05/image_thumb2.png)
Use .tostring() to get the version as string.
![](http://www.maartenpeeters.nl/MyBlog/wp-content/uploads/2012/05/image_thumb3.png)
相关文章推荐
- Get SharePoint 2010 version
- Get the SharePoint groups in Infopath 2010 and SharePoint 2010 by current user without any code
- Enable Version Control for SharePoint 2010 Document Libraries
- Enable Version Control for SharePoint 2010 Document Libraries
- Get the metadata value using client object model from the sharepoint 2010
- Microsoft SharePoint Foundation 2010 下载地址
- Installing SharePoint 2010 on Windows Server 2008 R2 – which server roles and features do I need?
- Find error messages with a Correlation ID token in SharePoint 2010
- SharePoint Server 2010 删除Web应用
- [Beginning SharePoint Designer 2010]Chapter2 编辑页面
- SP 2010: Getting started with LINQ to SharePoint in SharePoint 2010
- SP2010开发和VS2010专家"食谱"--第六章节--Web Services和REST(6)--Creating a custom SharePoint WCF service
- SharePoint Workspace 2010 中的新增功能 - SharePoint 工作区 - Microsoft Office
- webservice for sharepoint 2010
- SharePoint Foundation 2010 托管客户端对象模型概述 --创建 Windows 控制台托管的客户端对象模型应用程序
- Change UIVersion Of SharePoint 2010
- SharePoint Designer Workflow Tasks and InfoPath 2010
- {sharepoint} More on SharePoint 2010 Application Pools
- sharepoint server 2010卸载再安装后出现安装警告
- 卸载 SharePoint Server 2010