Powershell 7 not installing modules into correct module path? #21272
-
I just noticed that when I install modules using Powershell 7, they are going into the C:\Program Files\Powershell\Modules path, not C:\Program Files\Powershell\7\Modules. Is this expected? I thought 7 installed into the path with 7 in the name? If expected, what's the difference between those two paths? |
Beta Was this translation helpful? Give feedback.
Answered by
rhubarb-geek-nz
Feb 26, 2024
Replies: 2 comments
-
If you look at PSModulePath, that might help
If you run PowerShell 5.1 you get
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kilasuit
-
Yes this is as expected as explained above by @rhubarb-geek-nz |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you look at PSModulePath, that might help