Test-SPSite

You must ensure that all site collections are considered healthy. You can run health analyzer tests against a site collection by using Test-SPSite and providing the URL of the site collection as the Identity.

Test-SPSite -Identity <URL or GUID of Site Collection> [-RuleId <ruleGUID>] [-RunAlways <optional switch parameter>]

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.