[Powershell Basics] Find a path for Powershell modules in your system

[Powershell Basics] Find a path for Powershell modules in your system

When you downloading some modules for Powershell, you will need to install that modules. Powershell module - is a folder. You will copy module folder to modules repository (also a folder).

How to find modules repository folder?

PS H:\> $env:PSModulePath -split ';'
C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Modules
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\

In other system:

PS C:\Windows\system32> $env:PSModulePath -split ';'
C:\Users\user1\Documents\WindowsPowerShell\Modules
C:\Program Files\WindowsPowerShell\Modules
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\

 

 

 

powershell (ru)

  • Hits: 2787
Add comment

Related Articles