ConvertTo-Html - Powershell 2.0 CmdLet
ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »
ConvertTo-Html
Short description
Converts Microsoft .NET Framework objects into HTML that can be displayed in a Web browser.
Syntax
Description
The ConvertTo-Html cmdlet converts .NET Framework objects into HTML that can be displayed in a Web browser. You can
use this cmdlet to display the output of a command in a Web page.
You can use the parameters of ConvertTo-Html to select object properties, to specify a table or list format, to spe
cify the HTML page title, to add text before and after the object, and to return only the table or list fragment, i
nstead of a strict DTD page.
When you submit multiple objects to ConvertTo-Html, Windows PowerShell creates the table (or list) based on the pro
perties of the first object that you submit. If the remaining objects do not have one of the specified properties,
the property value of that object is an empty cell. If the remaining objects have additional properties, those prop
erty values are not included in the file.
