Jeff Hicks shows off some of the niceties of Powershell’s ConvertTo-HTML cmdlet:
This is because Convertto-Html, like Export-CSV and Export-Clixml, take the entire object. This is not just the default result you see on the screen. Remember, everything will be treated as a string. In my example, if I want a similar HTML file, I will have to recreate the output with Select-Object. This might require piping the original result to Get-Member to discover the “real” property names.
It won’t output beautiful results, but with the appropriate CSS theming, you can generate good internal reports.