-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Labels
Module-ConsoleGuiToolsThis issue is about Microsoft.PowerShell.ConsoleGuiToolsThis issue is about Microsoft.PowerShell.ConsoleGuiToolsbugSomething isn't workingSomething isn't working
Description
Get-AzContext -ListAvailable with a mix of contexts that have very long and very short (renamed) names, Out-ConsoleGridView aligns the objects wierd.
Not sure if this is caused by the objects from Get-AzContext -ListAvailable or by Out-ConsoleGridView.
Reproduce:
Have 2 or more AzContexts. Rename one of them to something short. run:
Get-AzContext -ListAvailable | Out-ConsoleGridViewName Value
---- -----
PSVersion 7.0.3
PSEdition Core
GitCommitId 7.0.3
OS Microsoft Windows 10.0.19041
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Name Value
---- -----
PSVersion 7.1.0-preview.7
PSEdition Core
GitCommitId 7.1.0-preview.7
OS Microsoft Windows 10.0.19041
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
ModuleType Version PreRelease Name PSEdition ExportedCommands
---------- ------- ---------- ---- --------- ----------------
Binary 0.4.1 Microsoft.PowerShell.ConsoleGuiToo… Core {Out-ConsoleGridView, ocgv}
Metadata
Metadata
Assignees
Labels
Module-ConsoleGuiToolsThis issue is about Microsoft.PowerShell.ConsoleGuiToolsThis issue is about Microsoft.PowerShell.ConsoleGuiToolsbugSomething isn't workingSomething isn't working
