@ i tried to achieve with PoSh through [command] | convertto-html "path2file" but it seems that the file won't be created.
ConvertTo-Html doesn't create any file for you, it just formats the output in HTML tags. Use it like below:
<My-Command> |ConvertTo-Html|Set-Content C:\log.html
If you want better control, select objects in your output for the specific tags in your log.html. Read some details here : http://technet.microsoft.com/en-us/library/ee156817.aspx
And you can use this as is into WFA commands too. It will behave just the same.
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.