You can easily enhace the output of the ConvertTo-Html cmdlet by using a cascading stylesheet. via the -CssUri parameter.
For example to use the Tahoma font as in your code you can create a file called html.css that contains:
Body {font-family: Tahoma;}
And then call:
} | ConvertTo-Html -CssUri html.css
Message was edited by: Robert van den Nieuwendijk