API Reference
Function
New-HTMLFooter
Building block for use within New-HTML. Provides ability to define footer.
Remarks
Building block for use within New-HTML. Provides ability to define footer. Additional way of managing how HTML content is displayed.
Examples
EXAMPLE 1
New-HTML -TitleText 'This is a test' -FilePath "$PSScriptRoot\Example34_01.html" {
New-HTMLHeader {
New-HTMLText -Text "Date of this report $(Get-Date)" -Color Blue -Alignment right
}
New-HTMLMain {
New-HTMLTab -TabName 'Test' {
New-HTMLSection -HeaderText '0 section' {
New-HTMLPanel {
New-HTMLTable -DataTable $Processes -HideFooter
}
New-HTMLPanel {
New-HTMLTable -DataTable $Processes -HideFooter
}
New-HTMLPanel {
New-HTMLTable -DataTable $Processes -HideFooter -Simplify
}
New-HTMLPanel {
New-HTMLTable -DataTable $Processes -HideFooter
}
}
}
New-HTMLTab -TabName 'Test5' {
New-HTMLSection -HeaderText '1 section' {
New-HTMLPanel {
New-HTMLTable -DataTable $Processes -HideFooter
}
New-HTMLPanel {
New-HTMLTable -DataTable $Processes -HideFooter
# New-HTMLTable -DataTable $Processes -HideFooter
}
New-HTMLPanel {
New-HTMLTable -DataTable $Processes -HideFooter
}
}
}
}
New-HTMLFooter {
New-HTMLText -Text "Date of this report $(Get-Date)" -Color Blue -Alignment right
}
} -Online -ShowHTML
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.