nerdexam
Exams70-332Questions#127
Microsoft

70-332 · Question #127

70-332 Question #127: Real Exam Question with Answer & Explanation

The solution, as shown in the 'Answer Area' of the image, involves arranging the PowerShell segments as follows: Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue Foreach-Object {$SWWebApp in (Get-SPWebApplication)} Foreach-Object {$WebApp.Name | Write-Ho

Maintain a SharePoint environment

Question

Drag and Drop Question A SharePoint 2010 farm contains four site collections. Each site collection has a separate content database. You want to upgrade the farm to SharePoint 2013. You create a SharePoint 2013 test farm to test the upgrade process. The upgrade of the content databases completes with errors. You need to export a list of the upgrade error for each content database to a comma-separated values (.csv) file. You need to drag the Windows PowerShell segments to Answer area.

Explanation

The solution, as shown in the 'Answer Area' of the image, involves arranging the PowerShell segments as follows: Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue Foreach-Object {$SWWebApp in (Get-SPWebApplication)} Foreach-Object {$WebApp.Name | Write-Host -ForegroundColor Green ; Foreach-Object {$CDB in $WebApp.ContentDatabases}} Foreach-Object {Test-SPContentDatabase -Name $CDB.Name -WebApplication $WebApp.URL -ServerInstance $CDB.Server | ConvertTo-Csv | Out-File -Encoding default "Filepath C:_" + $CDB.Name + ".csv"}

Topics

#SharePoint 2010 to 2013 upgrade#upgrade errors#PowerShell#content database

Community Discussion

No community discussion yet for this question.

Full 70-332 Practice