locked
Microsoft Module Browser for Windows PowerShell ISE - how to make it work with modern Windows 10? RRS feed

  • Question

  • I'm unable to make Microsoft Module Browser for Windows PowerShell ISE working on my Windows 10 machine. Is it still suported, or is there some reasonable alternative?

    Here are older tool descriptions and download links:

    https://devblogs.microsoft.com/powershell/ise-module-browser-a-new-way-to-manage-your-powershell-modules/

    https://www.microsoft.com/en-us/download/details.aspx?id=45885

    Friday, July 3, 2020 4:55 PM

All replies

  • You might want to try VS Code and install the PowerShell Pro Tools extension.

    --- Rich Matheisen MCSE&I, Exchange Ex-MVP (16 years)

    • Proposed as answer by jrv Friday, July 3, 2020 7:21 PM
    Friday, July 3, 2020 7:09 PM
  • PowerShell ISE is not longer supported by MS.  The module browser may not work if later versions of PowerShell are installed.

    Use Rich's suggestion.


    \_(ツ)_/

    Friday, July 3, 2020 7:21 PM
  • I installed it from the gallery and got some success running these commands.  I'm not sure why it doesn't do it automatically.  But it couldn't list the modules from the gallery anyway.  At least you can see your own modules.  Maybe it's because the gallery is no longer TLS 1.0?  These commands are from the ISEModuleBrowserAddon.psm1 file in the same folder as the dll.  Oh, actually the Gallery tab works if you search for something.  Oh, you can just put 'import-module ISEModuleBrowserAddon' in your ISE $profile (Documents\WindowsPowerShell\Microsoft.PowerShellISE_profile.ps1).


    add-type -path ('C:\Program Files\WindowsPowerShell\Modules\'+
      'ISEModuleBrowserAddon\1.0.1.0\ISEModuleBrowserAddon.dll')
    $typeModuleBrowser = [ModuleBrowser.Views.MainView]
    $moduleBrowser = $psISE.CurrentPowerShellTab.VerticalAddOnTools.
      Add('Module Browser', $typeModuleBrowser, $true)
    $psISE.CurrentPowerShellTab.VisibleVerticalAddOnTools.SelectedAddOnTool =
      $moduleBrowser

    • Edited by JS2010 Saturday, July 4, 2020 7:01 PM
    Saturday, July 4, 2020 5:32 PM
  • Saturday, July 4, 2020 6:33 PM
  • This is where I got the addon from, as linked in the blog:

    https://www.powershellgallery.com/packages/ISEModuleBrowserAddon

    Saturday, July 4, 2020 6:35 PM
  • Just a word about the Microsoft Script Gallery:

    https://docs.microsoft.com/en-us/teamblog/technet-gallery-retirement

    If you want to continue using PowerShell ISE and GitHub:

    https://mikefrobbins.com/2016/02/09/configuring-the-powershell-ise-for-use-with-git-and-github/

    About ISE support:

    https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/ise/introducing-the-windows-powershell-ise?view=powershell-7


    --- Rich Matheisen MCSE&I, Exchange Ex-MVP (16 years)

    It is interesting that MS has backed off from killing ISE completely.  I still say it is not a good platform for any serious work.  MS gave up on it years ago but never announced it.  They just stopped upgrading it.


    \_(ツ)_/

    Saturday, July 4, 2020 8:20 PM
  • This is where I got the addon from, as linked in the blog:

    https://www.powershellgallery.com/packages/ISEModuleBrowserAddon

    At a prompt in ISE type "Enable-ModuleBrowser".  The Add-On menu will now display the module browser item.

    When enabled the module browser is displayed as a tab on the ScriptBrowser pane normally displayed to the right.


    \_(ツ)_/

    Saturday, July 4, 2020 8:31 PM
  • WARNING:  The module browser and all ISE components have not been maintained for 5 years or more since Microsoft declared the ISE dead.  YOU will have issues with using many ISE modules as they will not work correctly with the current PS version.

    To access the Gallery it is necessary to install NuGet.  The installer for nuget from the module browser no longer works so it must be installed separately.


    \_(ツ)_/

    Saturday, July 4, 2020 8:38 PM

  • At a prompt in ISE type "Enable-ModuleBrowser".  The Add-On menu will now display the module browser item.

    When enabled the module browser is displayed as a tab on the ScriptBrowser pane normally displayed to the right.


    \_(ツ)_/

    enable-modulebrowser

    enable-modulebrowser : The term 'enable-modulebrowser' is not recognized as the name of a cmdlet, function, 
    script file, or operable program. Check the spelling of the name, or if a path was included, verify that the 
    path is correct and try again.
    At line:1 char:1
    + enable-modulebrowser
    + ~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (enable-modulebrowser:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

    Saturday, July 4, 2020 8:46 PM
  • That likely means you have the wrong module installed or uyou are using the wrong version of ISE.

    Be sure you have Windows 10 with ISE.  It is the correct version.  Go to this location and install module manager.

    https://www.microsoft.com/en-us/download/details.aspx?id=45885

    Read the instructions carefully.

    After a successful install then enable the module.


    \_(ツ)_/

    Saturday, July 4, 2020 9:16 PM
  • I see.  "enable-modulebrowser" came with the older version of the addon.  The blog in the first post literally crosses out that link and says to go to the powershell gallery instead.  But it seems to require importing the module before being able to use it.


    https://devblogs.microsoft.com/powershell/ise-module-browser-a-new-way-to-manage-your-powershell-modules/


    [UPDATED] A newer, working version of the ISE Module Browser is now available on the PowerShell Gallery: https://www.powershellgallery.com/packages/ISEModuleBrowserAddon/

    • Edited by JS2010 Sunday, July 5, 2020 3:15 PM
    Sunday, July 5, 2020 4:20 AM
  • Hi,
    As this thread has been quiet for a while, so here is a quick question.Was your issue resolved? 
    If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.
    If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.
    If no, please reply and tell us the current situation in order to provide further help.
    Best Regards,
    Yang Yang

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, July 14, 2020 2:00 AM