Get-WssReportHtml
Get-WssReportHtml
Gets the HTML string of a specific health report.
Syntax
Parameter Set: Default
Get-WssReportHtml [-Id] <Guid> [ <CommonParameters>]
Detailed Description
The Get-WssReportHtml cmdlet gets the HTML string of a specific health report.
Parameters
-Id<Guid>
Specifies the ID of a report instance. The cmdlet gets the report instance for the ID that you specify.
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.
- System.Guid
Outputs
The output type is the type of the objects that the cmdlet emits.
- System.String
Examples
Example 1: Get the report HTML string
This command gets the report HTML string on the server on which you run the cmdlet.
PS C:\> Get-WssReportHtml | Out-File -Filepath C:\Test01\Report.html
PS C:\>