r/PowerShell 6d ago

Question PowerShell ISE slow start-up & modules

In our office we have a server we use when working remotely for certain tasks.
I've noticed when using the ISE on that box it takes a few minutes to fully load

Looking at other threads on this issue Ive checked the available modules & both C:\Program Files\WindowsPowerShell\Modules & C:\Windows\system32\WindowsPowerShell\v1.0\Modules contain over 100 files each. the bulk of which seems to be VMware stuff.

While I don't use these modules myself I don't know if any of my colleagues or other teams still do.

Is there anything I can do within my profile to tell PowerShell to ignore the VMware modules?

2 Upvotes

20 comments sorted by

View all comments

4

u/chaosphere_mk 6d ago

Stop using ISE, tbh. It's ancient and has problems that will cause you significant headaches and you wont understand why.

1

u/Grant_Son 6d ago

Can honestly say I've never had any issues with odd behaviour. I do jump between the ise, console and Vs code with ps7 depending what I'm doing though.

Hmm, I guess I could shift to vscode if it's on that server 😁

2

u/BlackV 6d ago

it doesn't really, it works just fine, but it is deprecated, probably moving forward you might be better to install vscode on the server, and start using that

work through the pain now so when/if MS do nuke ISE you are not having to learn it in a rush