Share via


Set-WssReportSection

Set-WssReportSection

Sets the sections to include in a health report.

Sintaxis

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

Descripción detallada

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

Parámetros

-Section<WssReportSection>

Specifies the sections to include in a health report.

Alias

ninguno

¿Requerido?

true

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

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

Temas relacionados

Get-WssReportSection