Reputation: 433
Please help me, for this i'm using power shell command as
Export-SPWeb "http://iicss89:5555" -itemurl "/HelpFiles" -path "c:\helpdocument.cmp" -IncludeVersions All
it is working for main site document library properly but for subsite it is not working. for subsite i used below command but it shows error
Export-SPWeb -Identity "http://iicss89:5555/Physics" -itemurl "/HelpFiles" -path "c:\helpphydocument.cmp" -IncludeVersions All
Thanks
Upvotes: 0
Views: 293
Reputation: 338
ItemUrl parameter must be server relative url. You need to remove the leading slash.
So it should be like this;
-itemurl "HelpFiles"
Upvotes: 1