SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a SC backup, but when trying to restore it on my test environment with PowerShell, got the following error: SharePoint server version mismatch. SharePoint versions on both servers should match. [In my case version should be 4190 to continue restore].

It is possible to determine Sharepoint version used during backup creation?

Restoring with PowerShell (Restore-SPSite cmdlet)


share|improve this question
If you can access the farm where the backup came from, you can look up the version. If not, I don't believe there is a (documented) way to extract the version from the site collection backup file itself – shufler Apr 11 '12 at 15:46

To check which SharePoint-related installed apps are in your server - use the following PowerShell code to list out the apps & their versions:

$fooApps = Get-WmiObject -Class win32_Product  | where {$_.Name -like "*SharePoint*"} 
$fooApps | Sort -Property Name | ft -AutoSize
share|improve this answer

You could also use Todd Klindt's script as a basis (use minor instead of major version?)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.