Get-WssReportHtml
Gets the HTML string of a specific health report.
Syntax
Get-WssReportHtml
[-Id] <Guid>
[<CommonParameters>]
Description
The Get-WssReportHtml cmdlet gets the HTML string of a specific health report.
Examples
Example 1: Get the report HTML string
PS C:\> Get-WssReportHtml | Out-File -Filepath C:\Test01\Report.html
This command gets the report HTML string on the server on which you run the cmdlet.
1:
PS C:\>
Parameters
-Id
Specifies the ID of a report instance. The cmdlet gets the report instance for the ID that you specify.
Type: | Guid |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |