## Using basic format output on screen
Test-SPContentDatabase -Name [Name] -WebApplication [URL] | ft

##Output to HTML format
Test-SpContentDatabase -name [SiteName] –webapplication [SiteURL] -serverinstance [SQLServer] | ConvertTo-Html | Out-file

##Output to CSV format
Test-spcontentdatabase -name [SiteName] –webapplication [SiteURL] -serverinstance [SQLServer] | ConvertTo-CSV | Out-file c:\Test.csv

Advertisements