We recently had a requirement after we upgraded some SharePoint 2007 Content Databases to SharePoint 2010 to move some of the content (Lists) into a different site template.
Some of the lists we had to move were:
- Discussions
- Announcements
I decided to use Gary Lapointe’s PowerShell Extensions for SharePoint 2010 which were simple to install and use.
The command we used was Copy-SPList and an example of which is below:
Copy-SPList –sourceList http://sharepoint/sites/web/Lists/Team%20Discussion/AllItems.aspx -targetweb http://sps/sites/test -IncludeUserSecurity
The only thing we did before the copy was ensure that on the target web we were able to create the type of list we were copying over.
No comments yet... Be the first to leave a reply!