PowerShell / ConsoleGuiTools

Modules that mix PowerShell and GUIs/CUIs!
https://www.powershellgallery.com/packages/Microsoft.PowerShell.ConsoleGuiTools
MIT License
790 stars 60 forks source link

After Installing and Importing, Out-ConsoleGridView Fails #240

Open adamhill opened 8 months ago

adamhill commented 8 months ago

Prerequisites

Steps to reproduce

After Installing and Importing Graphical tools, Out-ConsoleGridview cannot be found.

image

Expected behavior

A ConsoleGridview with PS output in it like the demo video.

Am I missing something?

Other PS Modules are working fine

Actual behavior

An error.

Error details

No response

Environment data

macOS Ventura 13.6
iTerm2

Version

0.2.0

Visuals

image

tig commented 7 months ago

Out-ConsoleGridView is not part of Microsoft.PowerShell.GraphicalTools.

It is part of Microsoft.PowerShell.ConsoleGuiTools.

The README is clear on this, no?

image

Try this:

install-module Microsoft.PowerShell.ConsoleGuiTools  -Repository PSGallery -Verbose
import-module Microsoft.PowerShell.ConsoleGuiTools -Verbose 
adamhill commented 7 months ago

Wow. I honestly don't know how I got these projects mixed up... I guess being a Tab hobo has its issues.

Thanks. Works as expected.