Trying out the Import/Export-SPWeb PowerShell CmdLets instead of stsadm -o export/import.
Export-SPWeb works great to export a site into a .cmp file, but when I try to import it using Import-SPWeb:
Import-SPWeb -Identity http://myserver/nonexisting -Path d:\export\site.cmp
I'm getting an error message that it can't open the SPWeb. Non surprising since it doesn't exist - that's the whole point of an import.
With stsadm -o import I have no issues, it just creates the /nonexisting site with the proper template and everything.
Am I overlooking something, or is Import-SPWeb indeed inferior to the depreciated stsadm?
View Complete Post