Set-WssReportSection

Set-WssReportSection

Sets the sections to include in a health report.

Syntax

Parameter Set: Default
Set-WssReportSection [-Section] <WssReportSection> {All | None | ShowBackups | ShowCriticalAlertsAndWarnings | ShowErrorsInEventLog | ShowSecurityAndUpdates | ShowServiceNotRunning | ShowStorage} [ <CommonParameters>]

Detailed Description

The Set-WssReportSection cmdlet sets the sections to include in a health report.

Parameters

-Section<WssReportSection>

Specifies the sections to include in a health report.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Set the report sections for a health report

This command sets the report sections for a health report on a server where you run the cmdlet.

PS C:\> Set-WssReportSection ShowCriticalAlertsAndWarnings,ShowBackups

Get-WssReportSection