Send-WssReport
Sends out a health report instance.
Parameter Set: Default
Send-WssReport [-Id] <Guid> [ <CommonParameters>]
The Send-WssReport cmdlet sends out a health report instance through email by using the ID of the report.
Specifies the GUID of a health report instance.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
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).
The input type is the type of the objects that you can pipe to the cmdlet.
System.Guid
Report Guid
The output type is the type of the objects that the cmdlet emits.
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:\>