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
Make sure you are able to repro it on the latest version
Search the existing issues.
Steps to reproduce
I've noticed that the column formatting in Out-ConsoleGridView can be off / aligned poorly with the column headings if there are empty values passed to the function.
Expected behavior
> $Object = [PSCustomObject]@{ Column1 = "blah" Column2 = "" Column3 = "blah3"}
> $Object| Out-ConsoleGridViewColumns for each object member in the view are aligned
Actual behavior
> $Object = [PSCustomObject]@{ Column1 = "blah" Column2 = "" Column3 = "blah3"}
> $Object| Out-ConsoleGridViewColumns for each object member in the view are misaligned
Error details
No response
Environment data
Name Value
---------
PSVersion 7.3.4
PSEdition Core
GitCommitId 7.3.4
OS Microsoft Windows 10.0.22621
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Prerequisites
Steps to reproduce
I've noticed that the column formatting in Out-ConsoleGridView can be off / aligned poorly with the column headings if there are empty values passed to the function.
Expected behavior
Actual behavior
Error details
No response
Environment data
Version
latest
Visuals