Adding multiple modules into cache builder

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 2 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
DaveRichards
Posts: 6
Last visit: Wed Sep 28, 2022 12:12 am

Adding multiple modules into cache builder

Post by DaveRichards »

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: Powershell Studio 2022
Operating system: v5.8.197
PowerShell version(s): v5 and v7.2.1

*** Please add details and screenshots as needed below. ***

DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

I have recently installed the AWS powershell modules, but these comes in dozens of separate module installs (258 at the last count).

Is there an easy way of adding all of them into the cache builder so that they are available within the editor as using the add file dialog is time consuming and impossible for that number?
User avatar
brittneyr
Site Admin
Posts: 1654
Last visit: Wed Mar 27, 2024 1:54 pm
Answers: 39
Been upvoted: 30 times

Re: Adding multiple modules into cache builder

Post by brittneyr »

Unless the modules are installed in a custom location outside of $PSModulePath, you can always rebuild your cache to include these changes:
SPS_RibbonRebuildCache.png
SPS_RibbonRebuildCache.png (23.88 KiB) Viewed 3076 times
This may take a little to complete running.

For these changes to be reflected in application, restart the application or reload the cache:
SPS_RibbonReloadCache.png
SPS_RibbonReloadCache.png (20.95 KiB) Viewed 3076 times
Brittney
SAPIEN Technologies, Inc.
This topic is 2 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.