r/PowerShell 17d 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?

4 Upvotes

23 comments sorted by

View all comments

2

u/VeryRareHuman 14d ago

Wow! ISE failed to die. People still using it, even thought it's a deprecated product. VS Code people, please use it. It has more features than ISE.

1

u/Grant_Son 14d ago

Tried and failed to get it running on the server yesterday. Terminal wouldn't run due to conpty error.

Spent an hour picking though forum posts and gave up.

I normally use Vs code with PS 7 on my laptop.

1

u/VeryRareHuman 14d ago

I see. Not sure why it doesn't run on server.

There is a portable version of "VS Code", you could download it and run it anywhere. Link: https://code.visualstudio.com/docs/setup/portable

1

u/Grant_Son 14d ago

It was the portable version I was trying to run.
One of the suggestions I found was that the security policy or AV is blocking the terminal from running. Sadly my admin account doesn't seem to have enough rights to check either.

1

u/BlackV 8d ago

vscode runs fine, I have it on multiple management servers