We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c65936 + 18e049d commit 423712eCopy full SHA for 423712e
WindowsCompatibility/WindowsCompatibility.psm1
@@ -754,6 +754,8 @@ function Add-WindowsPSModulePath
754
"${Env:UserProfile}\Documents\WindowsPowerShell\Modules"
755
"${Env:ProgramFiles}\WindowsPowerShell\Modules"
756
"${Env:WinDir}\system32\WindowsPowerShell\v1.0\Modules"
757
+ [System.Environment]::GetEnvironmentVariable('PSModulePath',
758
+ [System.EnvironmentVariableTarget]::User) -split [System.IO.Path]::PathSeparator
759
[System.Environment]::GetEnvironmentVariable('PSModulePath',
760
[System.EnvironmentVariableTarget]::Machine) -split [System.IO.Path]::PathSeparator
761
)
0 commit comments