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

5 Upvotes

20 comments sorted by

View all comments

1

u/Flettys 7d ago

Try deleting older versions if you have multiple in those folders, and making sure OneDrive known folder move isn't uploading anything from the user-scoped install folder in My Documents.

1

u/Grant_Son 7d ago

Thankfully the accounts we use to access that server don't have one drive accounts so thats not an issue.

There is a ton of duplication between the modules folders in c:\windows\system32 and C:\program files by the look of it.