GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Enable console GUIs with PowerShell · Issue #3957 · PowerShell/PowerShell

Enable console GUIs with PowerShell #3957

New issue
Copy link
New issue
Copy link
Closed
Closed
Enable console GUIs with PowerShell#3957
Copy link
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-AnsweredThe question is answered.The question is answered.WG-Interactive-Consolethe console experiencethe console experience
Milestone
Future

Description

@SteveL-MSFT
Steve Lee (SteveL-MSFT)
opened on Jun 6, 2017
Issue body actions

As 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

Activity

Next
  1. Steve Lee (SteveL-MSFT)
    added
    WG-Interactive-Consolethe console experiencethe console experience
    Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bug
    on Jun 6, 2017
  2. Steve Lee (SteveL-MSFT)
    assigned
    James Truher (JamesWTruher)
    on Jun 6, 2017
  3. iSazonov commented on Jun 7, 2017

    @iSazonov
    Ilya (iSazonov)
    on Jun 7, 2017
    Collaborator
    More actions

    Show-Command?

    Reacted by Steve Lee, Staffan Gustafsson and Michael Klement
  4. Bartolomeus-649 commented on Jun 22, 2017

    @Bartolomeus-649
    Bartolomeus-649
    on Jun 22, 2017
    More actions

    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
  5. MaximoTrinidad commented on Jun 22, 2017

    @MaximoTrinidad
    Maximo Trinidad (MaximoTrinidad)
    on Jun 22, 2017
    More actions

    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.

    myazuredemo_02_2017-06-11_12-03-51

    :)

    Reacted by Constantine, Joe S, xdvarpunen and GATOQSECOMIO
  6. iSazonov commented on Jun 22, 2017

    @iSazonov
    Ilya (iSazonov)
    on Jun 22, 2017
    Collaborator
    More actions

    I guess Microsoft love Xamarin 😄

    Reacted by Flavien MICHALECZEK
  7. Steve Lee (SteveL-MSFT)
    changed the title [-]Add curses support to PowerShell[/-] [+]Enable console GUIs with PowerShell[/+] on Aug 24, 2017
  8. Steve Lee (SteveL-MSFT)
    added this to the This milestone has been deleted milestone on Sep 26, 2017
  9. SQLDBAWithABeard commented on Oct 6, 2017

    @SQLDBAWithABeard
    Rob Sewell (SQLDBAWithABeard)
    on Oct 6, 2017
    More actions

    Yes to enabling a seperate searchable help window a la -showwindow. That's a useful capability

  10. megamorf commented on Jan 11, 2018

    @megamorf
    Sebastian N. (megamorf)
    on Jan 11, 2018
    Contributor
    More actions

    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
  11. essentialexch commented on Jan 11, 2018

    @essentialexch
    Michael B. (essentialexch)
    on Jan 11, 2018
    More actions

    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.

    Reacted by Ulyssys
  12. JanMulkens commented on Jan 11, 2018

    @JanMulkens
    Jan Mulkens (JanMulkens)
    on Jan 11, 2018
    More actions

    Haven't used PS6 yet, but this is going to be missed when i do migrate

  13. SteveL-MSFT commented on Jan 12, 2018

    @SteveL-MSFT
    Steve Lee (SteveL-MSFT)
    on Jan 12, 2018
    MemberAuthor
    More actions

    @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.

  14. 16 remaining items

  15. Steve Lee (SteveL-MSFT)
    added this to the Future milestone on Jun 21, 2018
  16. Rob Holt (rjmholt)
    unassigned
    James Truher (JamesWTruher)
    on Aug 15, 2018
  17. gulshan commented on Oct 19, 2018

    @gulshan
    Gulshan (gulshan)
    on Oct 19, 2018
    More actions

    Miguel de Icaza (@migueldeicaza) has gui.cs targeting .net core.

  18. SteveL-MSFT commented on Oct 19, 2018

    @SteveL-MSFT
    Steve Lee (SteveL-MSFT)
    on Oct 19, 2018
    MemberAuthor
    More actions

    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
  19. MaximoTrinidad commented on Oct 19, 2018

    @MaximoTrinidad
    Maximo Trinidad (MaximoTrinidad)
    on Oct 19, 2018
    More actions

    Hum!! Steve Lee (@SteveL-MSFT) ... does this count as a "Experimental Flag" feature.
    I'm up for it!

    Reacted by Rain Sallow (/u/ta11ow)
    Reacted by Rain Sallow (/u/ta11ow)
  20. SteveL-MSFT commented on Oct 20, 2018

    @SteveL-MSFT
    Steve Lee (SteveL-MSFT)
    on Oct 20, 2018
    MemberAuthor
    More actions

    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)
  21. iSazonov commented on Oct 20, 2018

    @iSazonov
    Ilya (iSazonov)
    on Oct 20, 2018
    Collaborator
    More actions

    New name will difficult to discover. Perhaps it should be proxy to add new parameter -gui.

  22. 1RedOne commented on May 9, 2019

    @1RedOne
    Stephen Owen (1RedOne)
    on May 9, 2019
    Contributor
    More actions

    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'."
  23. SteveL-MSFT commented on May 10, 2019

    @SteveL-MSFT
    Steve Lee (SteveL-MSFT)
    on May 10, 2019
    MemberAuthor
    More actions

    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.

  24. iSazonov commented on Jul 12, 2019

    @iSazonov
    Ilya (iSazonov)
    on Jul 12, 2019
    Collaborator
    More actions

    Steve Lee (@SteveL-MSFT) Could you please update the issue description with current status and intentions?

  25. SteveL-MSFT commented on Jul 12, 2019

    @SteveL-MSFT
    Steve Lee (SteveL-MSFT)
    on Jul 12, 2019
    MemberAuthor
    More actions

    Ilya (@iSazonov) this is post PS7, no work (from my team) is currently happening for this

    Reacted by Ilya
  26. agowa commented on Mar 12, 2020

    @agowa
    Klaus Frank (agowa)
    on Mar 12, 2020
    More actions

    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
    Text-Based User Interfaces - Applied Go
    Beef up your Go console application with a Text-Based UI
  27. SteveL-MSFT commented on Mar 14, 2020

    @SteveL-MSFT
    Steve Lee (SteveL-MSFT)
    on Mar 14, 2020
    MemberAuthor
    More actions

    Closing as work is happening here https://github.com/PowerShell/GraphicalTools/tree/master/src/Microsoft.PowerShell.ConsoleGuiTools

    GitHub
    PowerShell/GraphicalTools
    A module that mixes PowerShell and GUIs! - built on Avalonia and gui.cs - PowerShell/GraphicalTools
  28. Steve Lee (SteveL-MSFT)
    closed this as completedon Mar 14, 2020
  29. Steve Lee (SteveL-MSFT)
    added
    Resolution-AnsweredThe question is answered.The question is answered.
    on Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-AnsweredThe question is answered.The question is answered.WG-Interactive-Consolethe console experiencethe console experience

    Type

    No type

    Projects

    No projects

      Milestone

      • FutureNo due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.