Command
Out-HtmlView
Small function that allows to send output to HTML
Syntax
Out-HtmlView [-AllProperties] [-AlphabetSearch] [-AutoSize] [-Buttons <String[]>] [-Compare] [-CompareNames <Array>] [-CompareReplace <Array>] [-DataStore <HTML|JavaScript|AjaxJSON>] [-DateTimeSortingFormat <String[]>] [-DefaultSortColumn <String[]>] [-DefaultSortIndex <Int32[]>] [-DefaultSortOrder <Ascending|Descending>] [-DisableAutoWidthOptimization] [-DisableInfo] [-DisableNewLine] [-DisableOrdering] [-DisablePaging] [-DisableProcessing] [-DisableResponsiveTable] [-DisableSearch] [-DisableSelect] [-DisableStateSave] [-EnableAutoFill] [-EnableColumnReorder] [-EnableKeys] [-EnableRowReorder] [-EnableScroller] [-ExcludeProperty <String[]>] [-FilePath <String>] [-Filtering] [-FilteringLocation <Top|Bottom|Both>] [-Find <String>] [-First <Int32>] [-FixedFooter] [-FixedHeader] [-FlattenObject] [-FreezeColumnsLeft <Int32>] [-FreezeColumnsRight <Int32>] [-FuzzySearch] [-FuzzySearchSmartToggle] [-HideButtons] [-HideFooter] [-HideShowButton] [-HighlightDifferences] [[-HTML] <ScriptBlock>] [-ImmediatelyShowHiddenDetails] [-IncludeProperty <String[]>] [-InvokeHTMLTags] [-Last <Int32>] [-Online] [-OrderMulti] [-OverwriteDOM <String>] [-PagingLength <Int32>] [-PagingOptions <Int32[]>] [-PagingStyle <String[]>] [-PassThru] [[-PostContent] <ScriptBlock>] [[-PreContent] <ScriptBlock>] [-PrettifyObject] [-PrettifyObjectDateTimeFormat <String>] [-PrettifyObjectSeparator <String>] [-PreventShowHTML] [-PriorityProperties <String[]>] [-ResponsivePriorityOrder <String[]>] [-ResponsivePriorityOrderIndex <Int32[]>] [-ScreenSizePercent <Int32>] [-ScrollCollapse] [-ScrollSizeY <Int32>] [-ScrollX] [-ScrollY] [-SearchBuilder] [-SearchBuilderLocation <top|bottom>] [-SearchHighlight] [-SearchPane] [-SearchPaneLocation <top|bottom>] [-SearchRegularExpression] [-Simplify] [-SkipProperties] [-Style <String[]>] [-Table <Object>] [-TextWhenNoData <String>] [-Title <String>] [-Transpose] [-TransposeLegacy] [-TransposeName <String>] [-TransposeProperty <String>] [-WordBreak <normal|break-all|keep-all|break-word>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Small function that allows to send output to HTML. When displaying in HTML it allows data to output to EXCEL, CSV and PDF. It allows sorting, searching and so on.
Examples
EXAMPLE 1
Get-Process | Select-Object -First 5 | Out-HtmlViewParameters
- -AllProperties SwitchParameter
- -AlphabetSearch SwitchParameter
- -AutoSize SwitchParameter
- Possible values:
copyHtml5,excelHtml5,csvHtml5,pdfHtml5,pageLength,print,searchPanes,searchBuilder - -Compare SwitchParameter
- -CompareNames Array
- -CompareReplace Array
- -DataStore String
- Possible values:
HTML,JavaScript,AjaxJSON - -DateTimeSortingFormat String[]
- -DefaultSortColumn String[]
- Sort by Column Name
- -DefaultSortIndex Int32[]
- Sort by Column Index
- -DefaultSortOrder String
- Possible values:
Ascending,Descending - -DisableAutoWidthOptimization SwitchParameter
- -DisableInfo SwitchParameter
- -DisableNewLine SwitchParameter
- -DisableOrdering SwitchParameter
- -DisablePaging SwitchParameter
- -DisableProcessing SwitchParameter
- -DisableResponsiveTable SwitchParameter
- -DisableSearch SwitchParameter
- -DisableSelect SwitchParameter
- -DisableStateSave SwitchParameter
- -EnableAutoFill SwitchParameter
- -EnableColumnReorder SwitchParameter
- -EnableKeys SwitchParameter
- -EnableRowReorder SwitchParameter
- -EnableScroller SwitchParameter
- -ExcludeProperty String[]
- -FilePath String
- -Filtering SwitchParameter
- -FilteringLocation String
- Possible values:
Top,Bottom,Both - -Find String
- -First Int32
- -FixedHeader SwitchParameter
- -FlattenObject SwitchParameter
- -FreezeColumnsLeft Int32
- -FreezeColumnsRight Int32
- -FuzzySearch SwitchParameter
- -FuzzySearchSmartToggle SwitchParameter
- -HighlightDifferences SwitchParameter
- -HTML ScriptBlock
- -IncludeProperty String[]
- -Last Int32
- -Online SwitchParameter
- -OrderMulti SwitchParameter
- -OverwriteDOM String
- -PagingLength Int32
- -PagingOptions Int32[]
- -PagingStyle String[]
- Possible values:
numbers,simple,simple_numbers,full,full_numbers,first_last_numbers - -PassThru SwitchParameter
- -PostContent ScriptBlock
- -PreContent ScriptBlock
- -PrettifyObject SwitchParameter
- -PrettifyObjectDateTimeFormat String
- -PrettifyObjectSeparator String
- -PreventShowHTML SwitchParameter
- -PriorityProperties String[]
- -ResponsivePriorityOrder String[]
- -ResponsivePriorityOrderIndex Int32[]
- -ScreenSizePercent Int32
- -ScrollCollapse SwitchParameter
- -ScrollSizeY Int32
- -ScrollX SwitchParameter
- -ScrollY SwitchParameter
- -SearchBuilder SwitchParameter
- -SearchBuilderLocation String
- Possible values:
top,bottom - -SearchHighlight SwitchParameter
- -SearchPane SwitchParameter
- -SearchPaneLocation String
- Possible values:
top,bottom - -SearchRegularExpression SwitchParameter
- -Simplify SwitchParameter
- -SkipProperties SwitchParameter
- -Style String[]
- Possible values:
display,cell-border,compact,hover,nowrap,order-column,row-border,stripe - -Table Object
- Data you want to display
- -TextWhenNoData String
- -Title String
- Title of HTML Window
- -Transpose SwitchParameter
- -TransposeLegacy SwitchParameter
- -TransposeName String
- -TransposeProperty String
- -WordBreak String
- Possible values:
normal,break-all,keep-all,break-word
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.