PowerShell can only "see" modules installed in one of the directories listed in $env:PSModulePath
. Otherwise you'll have to import the module with its full path.
To make a new module visible to all users you basically have two options:
- Install the module to the default system-wide module directory (
C:\Windows\system32\WindowsPowerShell\v1.0\Modules
). - Modify the system environment so that
PSModulePath
variable already contains your custom module directory (e.g. via a group policy preference).
The latter will only become effective for PowerShell sessions started after the modification was made, though.