en-us/Making_Tables_With_Out-HTML.walkthru.help.txt

# The example below renders a quick 'Person' object with Out-HTML.
New-Object PSObject |
    Add-Member NoteProperty FirstName John -PassThru |
    Add-Member NoteProperty LastName Smith -PassThru |
    Add-Member NoteProperty Addresss '1234 Nowhere St' -PassThru |
    Out-HTML
 
# You can also run existing commands in PowerShell and use the Select-Object command to pick and choose properties
Get-Date |
    Select-Object DayOfWeek, Month, Day, Year |
    Out-HTML
 
 
# Select-Object can also caculate properties on the fly:
Get-Command -Module Pipeworks |
    Select-Object Name,
    @{
        Name='Verb';
        Expression={
            ($_.Name -split "-")[0]
        }
    }, @{
        Name='Noun';
        Expression={
            ($_.Name -split "-")[1]
        }
    } |
    Out-Html