Which Windows PowerShell cmdlets should you run?

DRAG DROP
A SharePoint 2010 environment contains the site collections described in the following table.

You plan to migrate the environment to SharePoint 2013. You create a SharePoint 2013 site at the
URL http://testIntranet.contoso.com. You restore the database backups from the 2010 environment
to the 2013 environment.
You test the migration plan by migrating the Intranet.Content database to the new site.
You need to verify that the test migration succeeds.
Which Windows PowerShell cmdlets should you run? (To answer, drag the appropriate cmdlets to
the correct location or locations in the answer area. Each cmdlet may be used once, more than once,
or not at all. You may need to drag the split bar between panes or scroll to view content.)

DRAG DROP
A SharePoint 2010 environment contains the site collections described in the following table.

You plan to migrate the environment to SharePoint 2013. You create a SharePoint 2013 site at the
URL http://testIntranet.contoso.com. You restore the database backups from the 2010 environment
to the 2013 environment.
You test the migration plan by migrating the Intranet.Content database to the new site.
You need to verify that the test migration succeeds.
Which Windows PowerShell cmdlets should you run? (To answer, drag the appropriate cmdlets to
the correct location or locations in the answer area. Each cmdlet may be used once, more than once,
or not at all. You may need to drag the split bar between panes or scroll to view content.)

Answer:

Explanation:
Note:
* Test –SPContentDatabase
Use the Test-SPContentDatabase cmdlet to test a content database against a Web application to
verify all customizations referenced within the content database are also installed in the web
application.
* The Mount-SPContentDatabase cmdlet attaches an existing content database to the farm. If the
database being mounted requires an upgrade, this cmdlet will cause the database to be upgraded.
Example:
ExAMPLE
Mount-SPContentDatabase “MyDatabase” -DatabaseServer “MyServer” -WebApplication
http://sitename
This example mounts an existing database to the sitename web application. If upgrades are
required, it triggers database schema upgrade and then performs only build-to-build upgrade
actions on existing site collections if required.



Leave a Reply 1

Your email address will not be published. Required fields are marked *