Two Commands You Should Always Run First When Troubleshooting CompanyWeb
Published Apr 04 2019 04:14 PM 123 Views
First published on TechNet on Aug 19, 2011
[Today's post comes to us courtesy of Justin Crosby from Commercial Technical Support]

Today’s post is going to cover two commands you should always run when troubleshooting CompanyWeb (SharePoint) on SBS 2011 Standard. These two commands take less than a minute to run and will catch two of our most common CompanyWeb issues.

The commands must be ran as an administrator from the SharePoint 2010 Management Shell. You can launch the shell from All Programs > Microsoft SharePoint 2010 Products > SharePoint 2010 Management Shell .

From the shell you should first run:


This command will return nothing if the SharePoint service accounts are synced with Active Directory. If you receive an error here please use the following blog post to fix it:

The second command you should run is:

(get-spserver $env:computername).NeedsUpgrade

If this command returns True you must run PSCONFIG as described in the following blog post: . If the command returns false you will need to troubleshoot your SharePoint issue as normal.

Version history
Last update:
‎Apr 04 2019 04:14 PM
Updated by: