GeezerVison is showing github.com — Enable console GUIs with PowerShell · Issue #3957 · PowerShell/PowerShell
Enable console GUIs with PowerShell #3957DescriptionAs people are going back to the console for management (instead of primarily GUI), we should support curses to enable console based GUIs.
- out-gridview implementation
- get-member interactive navigation
- get-help -showwindow (for this, my suggestion is to not literally implement
showwindow, but to improve console rendering of help with interactive navigation)
- show-command
Reacted by Staffan Gustafsson, Kevin Crouch, Gleb Lesnikov, Michael Klement, Florian Feldhaus, Mark Kraus, thecliguy, Rob Sewell, Constantin Hager, Chrissy LeMaire and 66 more ActivityiSazonov commented on Jun 7, 2017 Reacted by Steve Lee, Staffan Gustafsson and Michael Klement Bartolomeus-649 commented on Jun 22, 2017 People are not "going back" to consoles for management! They are forced to use it as there is no real alternatives! Reacted by Kexy Biscuit a.k.a. るる, Grant Emsley and xdvarpunen Reacted by Ritch Melton, Christoph Bergmeister, Stefan H., Matthew Merrill, Jason Froebe, Matthew Pearon, Bogdan Mukvich, David Markle, Felix Becker, bender-the-greatest and 11 more MaximoTrinidad commented on Jun 22, 2017 In one of the posted issues: #1808
I mention about using Python Tk with PowerShell. I think Python would be a BIG candidate to help overcoming the missing GUI component in PowerShell.

:) Reacted by Constantine, Joe S, xdvarpunen and GATOQSECOMIO iSazonov commented on Jun 22, 2017 I guess Microsoft love Xamarin 😄 Reacted by Flavien MICHALECZEK changed the title [-]Add curses support to PowerShell[/-] [+]Enable console GUIs with PowerShell[/+] on Aug 24, 2017added this to the This milestone has been deleted milestone on Sep 26, 2017SQLDBAWithABeard commented on Oct 6, 2017 Yes to enabling a seperate searchable help window a la -showwindow. That's a useful capability megamorf commented on Jan 11, 2018 Even though I already 👍 this months ago, I wanted to let you guys know that Out-Gridview is a command that lots of people use to quickly preview and filter datasets. It's become a great asset in the typical admin toolbelt :-)
One of my typical use cases is to use Select-FromGridView (which is based on ogv but keeps the objects intact) to manually pick desired items from a collection of VMware Snapshots that I want to delete. Reacted by Jonathan Woodard and Ulyssys essentialexch commented on Jan 11, 2018 I view curses as only a stop-gap measure. OGV based on curses is going to be quite weak in comparison to OGV on FullCLR (and yes, I'm another person that uses OGV extensively when developing solutions to examine result data-sets, even though OGV may not end up in my published solution). Whether it's tk or something else, I believe you will need to pick a true xplat gui solution. JanMulkens commented on Jan 11, 2018 Haven't used PS6 yet, but this is going to be missed when i do migrate SteveL-MSFT commented on Jan 12, 2018 @swngdnz for "true xplat gui", there's really only two viable solutions: vt100 and html. With vt100, it'll work across SSH, locally, as well as in CloudShell. Html is more limited as it'll only work locally, but it also simpler to implement. I encourage someone from the community to build such a module.
With a curses-type solution, it isn't as limited as you may think. Mouse navigation is supported in addition to keyboard. Yes, the graphics won't be as rich as WPF based, but OGV isn't a graphics intense app. gulshan commented on Oct 19, 2018 SteveL-MSFT commented on Oct 19, 2018 Gulshan (@gulshan) yes, we've explicitly been looking at gui.cs, but it doesn't currently have all the controls needed to port out-gridview (for example), but as a general library, I don't see any reason why someone wouldn't start using it today in their module Reacted by Gulshan and Maximo Trinidad MaximoTrinidad commented on Oct 19, 2018 Reacted by Rain Sallow (/u/ta11ow) Reacted by Rain Sallow (/u/ta11ow) SteveL-MSFT commented on Oct 20, 2018 Maximo Trinidad (@MaximoTrinidad) in this case, you can write a module that uses gui.cs for rendering and it would not need to be behind an Experimental Flag because it should be a new cmdlet (call it something other than Out-GridView, maybe Show-GridView?) without any PowerShell engine changes. Reacted by Rain Sallow (/u/ta11ow) and Maximo Trinidad Reacted by Rain Sallow (/u/ta11ow) iSazonov commented on Oct 20, 2018 New name will difficult to discover. Perhaps it should be proxy to add new parameter -gui. 1RedOne commented on May 9, 2019 With dotnet core 3 preview 5 out now and shipping working WPF on dotnet core, is this something that should work now?
I can import PresentationFramework.dll but I get errors when trying to run XamlReader::Load
[Windows.Markup.XamlReader]::Load
The following exception occurred while retrieving member "Load": "Could not load type 'MS.Internal.SecurityCriticalDataForSet`1' from assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'." SteveL-MSFT commented on May 10, 2019 Stephen Owen (@1RedOne) you would need to use the feature-netcore30 working branch which has .NET Core 3.0 but isn't ready to be merged. Also .NET Core 3.0 doesn't have a complete implementation of WPF yet. iSazonov commented on Jul 12, 2019 SteveL-MSFT commented on Jul 12, 2019 Ilya (@iSazonov) this is post PS7, no work (from my team) is currently happening for this agowa commented on Mar 12, 2020 For console ui's, I'd like to point you to this: https://appliedgo.net/tui/
It shows what we can get out of it and how it could look like.
This could also help resolving #12113
 Applied Go Beef up your Go console application with a Text-Based UI
SteveL-MSFT commented on Mar 14, 2020
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|