Skip to content

Powershell Modules

nexssp edited this page Feb 6, 2020 · 2 revisions

Check Powershell modules path

$Env:PSModulePath # Paths of modules

Get-Module -ListAvailable # List of modules

"$PSHome\Modules" # C:\Windows\System32\WindowsPowerShell\v1.0\Modules is reserverd and shouldn't be used for custom modules 

Import-module -name MyModule # import module