I'm trying to import a site that I exported using Export-SPWeb, and it's not working
Export command - this worked:
Export-SPWeb https://company.com/path1/oldsite -Path "SiteExport.cmp"
Import command - this did not work:
Import-SPWeb https://company.com/path2/newsite -Path "SiteExport.cmp" –UpdateVersions -Overwrite
My import command resulted in the following error:
Import-SPWeb : Cannot bind parameter 'UpdateVersions'. Cannot convert value "-Overwrite" to type "Microsoft.SharePoint.Deployment.SPUpdateVersions" due to invalid enumeration values. Specify one of the following enumeration values and try again. The possible enumeration values are "Append, Overwrite, Ignore". At line:1 char:122+ Import-SPWeb https://company.com/path2/newsite -Path "SiteExport.cmp" -UpdateVersions <<<< -Overwrite + CategoryInfo : InvalidArgument: (:) [Import-SPWeb], ParameterBindingException + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.SharePoint.PowerShell.SPCmdletImportWeb
Any assistance would be great. Could it be a permissions problem?