1. On the Start menu, click All Programs.
2. Click Microsoft SharePoint 2010 Products.
3. Click SharePoint 2010 Management Shell.
4. At the Windows PowerShell command prompt, type the appropriate command.
Mount-SPContentDatabase "<ContentDb>" -DatabaseServer "<DbServer>" -WebApplication http://SiteName
Where:
· <ContentDb> is the content database to be attached.
· <DbServer> is the name of the database server.
· http://SiteName is the name of the Web application to which the content database is being attached.