PowerShell command to Migrate from MOSS 2007 to SharePoint 2010

Steps :
1. Attach the database to sqlserver which is sharepoint using; create webapplication .. we won't need to create site collection;

2. type this command in sharepoint shell
Mount-SPContentDatabase -name dbname -WebApplication http://servername:portnumber
this operation may take from 2 minutes​ to 10 minutes depending on your data size; it will show you percentage as it finishes;

3. after finishing it, click iisreset

go to your browser and type your webapplication url
& here you go..

No comments:

Powered by Blogger.