Chris Dent wrote:
>
> I can't tell you much about the run-speed, it depends a lot on the
> number of folders you're testing and how many items hide in there.
>
> Anyway, you can do a hell of a lot more with the style than I have here,
> but this would seem like a reasonable start (w3schools.com is a fine
> place to start if you want to learn basic HTML / CSS):
>
> $Snip Just to be clear, all you need do to make the output pretty is play with
the HTML.
You might extend the style above rather a lot. For example, you might
set a default font, and you might align to the left, or you might make
the table fixed size.
If you want the table contents to be sorted on size / number of items I
suggest you do that before you convert to HTML
Here's an extended CSS style example to get you started off:
# A style to insert into the Html Head
$Head = "
<title>Exchange Logs</title>
<style type='text/css'>
table { border-collapse: collapse; width: 700px }
body { font-family: Arial }
td, th { border-width: 2px; border-style: solid; text-align: left;
padding: 2px 4px; border-color: black }
th { background-color: grey }
td.Red { color: Red }
</style>"