convert-html multiple tables stretch

Anyone know how to do this?

two different tables get-process and get-service exported to csv and converted to html but stretch them so the tables are the same size.

September 10th, 2015 11:32am

Can you post the code you currently have?
Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 11:37am

You need to use a style sheet.

http://www.w3schools.com/css/default.asp

<style type="text/css">
    table {width: 100%;}
</style>

Why bother to convert to CSV.  Just ConvertTo-Html

September 10th, 2015 11:38am

Here is an advanced html code generator for PowerShell: http://tech-comments.blogspot.com/2012/08/powershell-dynamically-color-posh.html

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 11:41am

You need to use a style sheet.

http://www.w3schools.com/css/default.asp

<style type="text/css">
    table {width: 100%;}
</style>

Why bother to convert to CSV.  Just ConvertTo-Html

September 10th, 2015 12:14pm

Here is an advanced html code generator for PowerShell: http://tech-comments.blogspot.com/2012/08/powershell-dynamically-color-posh.html

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 12:16pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics