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
{{ message }}
This repository was archived by the owner on Jun 24, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 24, 2026. It is now read-only.
Please add the ability to have "Default" selections when using Multiple OutputMode #212
Please add the ability to add "default" selections when using the Multiple OutputMode.
By adding this, we could present the end user with the Gridview with already pre-selected options which they can then choose to deselect and/or select additional options from what are shown
Actually, both of those examples would work great.
Also perhaps where an array of PSCustomObjects are passed to ocgv, passing another array with the PSCustomObjects that you want pre-selected in the list. But those two options you presented would be great!
Activity
tig commentedon Aug 9, 2023
Could you provide an example invocation so I can better understand?
E.g.:
ls | ocgv -OutputMode Multiple Select @{ Index = 1; Index = 3 }would select the 1st and 3rd file.ls | ocgv -Select @{ Name = ".gitconfig" }would select the first file named ".gitconfig".lexiismadd commentedon Aug 9, 2023
Actually, both of those examples would work great.
Also perhaps where an array of PSCustomObjects are passed to ocgv, passing another array with the PSCustomObjects that you want pre-selected in the list. But those two options you presented would be great!