I have the following scripts. I wish it returns two html tables, however, both of them return a big html table. Is it a way to create multiple tables using ConvertTo-Html
?
@(dir | select -First 3; Get-Process | select -First 3) | ConvertTo-Html
@{dir = dir | select -First 3; ps = Get-Process | select -First 3} |
ConvertTo-Html