You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realize that customers might take this directory off the PSModulePath, but $Env:ProgramFiles\WindowsPowerShell\Modules is a better location than $Env:\tools in my opinion. It is a standard location for modules developed by the PowerShell community and is on the PSModulePath by default.
The text was updated successfully, but these errors were encountered:
If you use the Install-Module command built into PowerShell v5 (or higher) it will install into the location you desire. Note, you have to be running as admin in order to have Install-Module install into that location.
From the issue, I take it you're using Chocolatey. Over time we'd like to get more folks using the "native" PowerShell module management system (PowerShellGet).
I realize that customers might take this directory off the PSModulePath, but $Env:ProgramFiles\WindowsPowerShell\Modules is a better location than $Env:\tools in my opinion. It is a standard location for modules developed by the PowerShell community and is on the PSModulePath by default.
The text was updated successfully, but these errors were encountered: