I have a PowerShell script which generates some PC inventory data. The script outputs an object like
Incident : INC123456Hostname : PC103399Operating System : Microsoft Windows 10 EnterpriseSystem Manufacuturer : LENOVOSystem Model : 20HR000FUSCottage Asset Tag : 103399Serial Number : Wired MAC Address : Wi-Fi MAC Address : Location : A0:88:69:FA:AC:F8Department : RadiologyDate Deployed : 03/05/2018
The Convertto-HTML command converts the data to a table with column one data as a header row and column to as row data. I would like to have the HTML table formatted in the same way as in output object. Is this even possible? Any help is appreiciated.
That must be easy if you look at the example here https://www.w3.org/TR/html401/struct/tables.html#h-11.4.3 or ask do my science homework to do it for you.
Powered by IDERA