Send-WssReport
Send-WssReport
Sends out a health report instance.
Sintaxis
Parameter Set: Default
Send-WssReport [-Id] <Guid> [ <CommonParameters>]
Descripción detallada
The Send-WssReport cmdlet sends out a health report instance through email by using the ID of the report.
Parámetros
-Id<Guid>
Specifies the GUID of a health report instance.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByPropertyName) |
¿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.
System.Guid
Report Guid
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
Example 1: Send a health report
The first command uses the Get-WssReport cmdlet to get all instances of reports, and saves the results in the $Reports variable.
The second command sends an instance of a health report by using the ID of the first instance in the $Reports variable.
PS C:\> $Reports = Get-WssReport
PS C:\> Send-WssReport $Reports[0].Id
PS C:\>