Where can I put Powershell modules that will be accessed by multiple users? -


i used variable $env:psmodulepath , provided 2 paths.

> c:\users\my user\documents\windowspowershell\modules > c:\windows\system32\windowspowershell\v1.0\modules\ 

seems user accessible me. module used multiple person , when uninstalling application [i installing module via msi], if other user uninstalls should removed.

can use "c:\windows\system32\windowspowershell\v1.0\modules\" application related module? or there other better place ?

can use "c:\windows\system32\windowspowershell\v1.0\modules\" application related module?

no. place not noted in section "rules installing modules" of module installation guidelines.

you can decide want put modules shared multiple users.

some options include:

  • create new folder in program files, , add path psmodulepath.
  • use network share (though means need change execution policy allow this), @rubanov said.
  • use all users folder example.

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -