Exporting SPList :
Export-SPWeb "<Site URL>" -itemurl "/Lists/<List Name>" -Path "D:\ListFolder\TestExport.cmp"
Importing SPList:
Import-SPWeb -Identity "<Site URL>" -Path "D:\ListFolder\TestExport.cmp"
It will create list with same name in the target site.
Export-SPWeb "<Site URL>" -itemurl "/Lists/<List Name>" -Path "D:\ListFolder\TestExport.cmp"
Importing SPList:
Import-SPWeb -Identity "<Site URL>" -Path "D:\ListFolder\TestExport.cmp"
It will create list with same name in the target site.
No comments:
Post a Comment