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 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

Leave a comment