Curated Examples
Example7 Alphabetsearch2
Source-owned example maintained with PSWriteHTML.
- Source repository: https://github.com/EvotecIT/PSWriteHTML
- Example group:
Example-Table
Import-Module .\PSWriteHTML.psd1 -Force
#$Process = Get-Process | Select-Object -First 30
$ProcessSmaller = Get-ADUser -Filter * | Select-Object -First 3 # -Property Name, Id, PriorityClass, Responding
New-HTML {
New-HTMLSection -HeaderText 'Standard Table with Alphabet Search' {
New-HTMLTable -DataTable $ProcessSmaller -AlphabetSearch {
}
New-HTMLTable -DataTable $ProcessSmaller -AlphabetSearch {
New-TableAlphabetSearch -ColumnName Name -AddNumbers
}
}
New-HTMLSection -HeaderText 'Standard Table with Alphabet Search' {
New-HTMLTable -DataTable $ProcessSmaller -AlphabetSearch {
New-TableAlphabetSearch -ColumnName SID -CaseSensitive
}
}
New-HTMLSection -HeaderText 'Standard Table with Alphabet Search' {
New-HTMLTable -DataTable $ProcessSmaller -AlphabetSearch {
}
}
New-HTMLSection -HeaderText 'Standard Table without ALphabet' {
New-HTMLTable -DataTable $ProcessSmaller {
}
}
} -ShowHTML -FilePath $PSScriptRoot\Example7_AlphabetSearch2.html -Format -Online