1

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)

Thanks.

  • 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 '12 at 15:46
1

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
| improve this answer | |
1

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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