Set-WssReportSection
Sets the sections to include in a health report.
Syntax
Set-WssReportSection
[-Section] <WssReportSection>
[<CommonParameters>]
Description
The Set-WssReportSection cmdlet sets the sections to include in a health report.
Examples
Example 1: Set the report sections for a health report
PS C:\> Set-WssReportSection ShowCriticalAlertsAndWarnings,ShowBackups
This command sets the report sections for a health report on a server where you run the cmdlet.
Parameters
-Section
Specifies the sections to include in a health report.
Type: | WssReportSection |
Accepted values: | ShowCriticalAlertsAndWarnings, ShowErrorsInEventLog, ShowServiceNotRunning, ShowSecurityAndUpdates, ShowBackups, ShowStorage, All, None |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |