How to Keep ISEModuleBrowserAddon from Disappearing in Powershell ISE?

1

Every time I close and re-start Powershell ISE the Module Browser disappears and I have to re-import the module. Is this just poor intended behavior? Sort of a nuisance to have to Import-Module ISEModuleBrowserAddon each time I use the ISE...

Powershell Version 5.1:

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      15063  502

Windows 10 64-bit

Dusty Vargas

Posted 2017-09-18T18:41:09.010

Reputation: 113

Consider using Visual Studio Code IDE for Powershell. It's less error prone than ISE. – rrirower – 2017-09-18T19:06:49.607

Answers

0

Read and follow Import-Module reference:

Import-Module imports a module only into the current session. To import the module into all sessions, add an Import-Module command to your Windows PowerShell profile. For more information about profiles, see about_Profiles.

Further reading: How to Use Profiles in Windows PowerShell ISE.

JosefZ

Posted 2017-09-18T18:41:09.010

Reputation: 9 121

Hey, thanks! I had not read that reference before asking, much appreciated. – Dusty Vargas – 2017-12-21T16:45:34.427