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)


  • 1
    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, 2012 at 15:46

2 Answers 2


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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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