What should you do?

You are a SharePoint Administrator for Contoso, Ltd.
While doing weekly maintenance you discover that a web application at http://sharepoint.contoso.com has an orphan site.
The orphan site is located in the WSS_Content database.
You need to resolve the issue.
What should you do?
A. Run the following Windows PowerShell command:$wa = Get-SPWebApplicationhttp:// sharepoint. contoso.com$wa.Sites.SyncRoot
B. In Central Administration, select thehttp://sharepoint.contoso.comweb application. Select the database that contains the orphaned site. SelectRemove databaseand clickOK. Run the Windows PowerShell cmdletDismount- SPContentDB.
C. Run the following Windows PowerShell command:$ContentDb = ‘WSS_Content”$db = Get-SPDatabase | where {$_.name -eq $ContentDb}Remove-SPContentDatabase SdbMount-SPContentDatabase -WebApplicaionhttp:// sharepoint.contoso.com-Name SContentDb
D. Run the following Windows PowerShell command:$wa = Get-SPWebApplicationhttp:// sharepoint. contoso.com$wa.Sites[0].Dispose();

microsoft-exams

One thought on “What should you do?

  1. If “B” is the correct anwser then it is the wrong text . “Mount and not Dismount”
    In Central Administration, select the http://sharepoint.contoso.com web application. Select the database that contains the orphaned site. Select Remove database and click OK.
    Run the Windows PowerShell cmdlet Mount- SPContentDB.

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.