Custom Module Folder to Exclude "MyDocument"

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, LICENSE 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 7 months and 3 days 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
Dlashley
Posts: 16
Last visit: Sat Jun 20, 2026 11:55 am
Answers: 0
Has voted: 5 times

Custom Module Folder to Exclude "MyDocument"

Post by Dlashley »

I was just wondering if here is a configuration where the Option to install modules to "Current user" can be mapped to a different location? I try not to use "My Documents" for this due to OneDrive for business sync. I use a custom location such as "C:\hold\MyPSModules\..." ?
User avatar
brittneyr
Site Admin
Posts: 462
Last visit: Tue Jul 07, 2026 2:46 pm
Answers: 12
Been upvoted: 45 times

Re: Custom Module Folder to Exclude "MyDocument"

Post by brittneyr »

As of the latest build, you cannot set a custom location as the install location. You can move modules after install, but it can only move modules to a path defined in the environmental variable PSModulePath.

You are welcome to submit a feature request here and our development team will look into it:
https://www.sapien.com/requests
Brittney
SAPIEN Technologies, Inc.
This topic is 7 months and 3 days 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.