When an array of objects is piped to ConvertTo-HTML, it creates a table with the object property names as column headers. But if the objects only have a single property, the resultant table has an asterisk for the column header instead of the property name.
# Example with two properties, expected behavior Get-Service Appi* | Select Name, Status | ConvertTo-HTML -Fragment
Results in: (the web page trashes the resulting html here, but you get the idea)
# Example with one property, undesired behavior Get-Service Appi* | Select Name | ConvertTo-HTML -Fragment
Is this a bug, or is this behavior desired for some reason that I am not understanding?