Sharepoint Update Command

Post Reply
greg
Site Admin
Posts: 73
Joined: Mon Nov 28, 2005 3:01 pm

Sharepoint Update Command

Post by greg »

Microsoft SharePoint Foundation 2010 Service Pack 1 (SP1) was recently released through Microsoft Update. On a default installation, Windows SBS 2011 Standard administrators should be able to see it in the SBS Console and would need to approve it for installation before it is offered for installation on the server.

Since SharePoint Foundation 2010, patching SharePoint is a two-step process. The updated binaries are first installed and then PSCONFIG must be completed to update the SharePoint databases.
Without completing PSCONFIG, you might experience unexpected SharePoint search failures and all backups may stop working on the affected server.

You can also run the following commands to determine if you need to complete the update process with PSCONFIG:

Launch an elevated (Run as Administrator) SharePoint 2010 Management shell from start, All Programs, Microsoft SharePoint 2010 Products, SharePoint 2010 Management Shell.

Once the shell opens, type the following command followed by enter:
(get-spserver $env:computername).NeedsUpgrade

If the result of this command is True, then you need to complete the steps below. If the result is False then no further action is needed, if you are encountering similar events the cause will most likely not be resolved by the following steps.

To complete the SharePoint service pack process you need to follow the same steps that were previously posted on the Official SBS Blog regarding the necessity to complete PSCONFIG after a SharePoint update. Here are the steps from the article:

In order to update the SharePoint databases, you must manually run the PSconfig utility. To run the utility:

1. Open an Administrative command prompt.
2. Change directory to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
3. Run PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures

Note: The Companyweb site will be inaccessible while the command is running. It is best to run the command after business hours. The amount of time the command takes to run will vary on the size of the database and the speed of the machine. On a reference machine with 8 logical processors, 32GB of RAM and a 2GB content database, the command took approximately 5 minutes to execute.

For additional information on SharePoint Foundation 2010 patching mechanism, please see the following TechNet article: http://technet.microsoft.com/en-us/libr ... 06326.aspx
Greg Marlett
Forum Site Administrator
Pelstar Computer Systems
gmarlett@pelstar.com
Post Reply