You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the -Property parameter is not used (and it thereby defaults to match string '*') or when a match string is used with the -Property parameter, and the result is only a single property, ConvertTo-Html uses the match string as the column header instead of the property name.
Previously documented on UserVoice https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/11522970-convertto-html-incorrectly-labels-default-single-c
When the -Property parameter is not used (and it thereby defaults to match string '*') or when a match string is used with the -Property parameter, and the result is only a single property, ConvertTo-Html uses the match string as the column header instead of the property name.
Steps to reproduce
Expected behavior
Actual behavior
Environment data