Enable powershellmodules?

Hi,

I have used this post: http://tomtalks.uk/2013/06/powershell-add-a-persistent-module-path-to-envpsmodulepath/ to add persistent powershell modules but they just don't show up.

I can see the entry in my registry which shows the path to my modules (function which I changed the extension to .psm1).

Please advise.

August 21st, 2015 10:32am

Do you have the folder structure set up properly?

Background information:

http://mikefrobbins.com/2013/07/04/how-to-create-powershell-script-modules-and-module-manifests/

Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 11:03am

I think I did, however when I check  $env:PSModulePath, my custom path is not in it whereas I do can see it in registry (mine is set to D:\_Modules):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PsModulePath
Might need a reboot?

Note: is there another way to set the modulepath (then how), so I can check if that works?

August 21st, 2015 11:25am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics