Quantcast
Channel: PowerShell General
Viewing all articles
Browse latest Browse all 10624

ConvertTo-HTML from log file

$
0
0

How can I convert a log file to HTML file without losing the format. I tried ConvertTo-HTML but it's not giving the desired output. I am not able to attach file to the post hence copied sample log file. I would like to convert it in to table if possible.

            Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :        5         0        25         0         0         0
   Files :       19         0       19         0         0         0
   Bytes :   32.1 m         0   19.13 m         0         0         0
   Times :   0:00:13   0:00:00                       0:00:00   0:00:23

   Ended : Mon Oct 12 12:00:31 2011


Viewing all articles
Browse latest Browse all 10624

Trending Articles