ModuleIntrinsics.GetPSModulePath returns a hard-coded path, rather than the one PowerShell is actually using #24274
Labels
Needs-Triage
The issue is new and needs to be triaged by a work group.
Prerequisites
Steps to reproduce
Set your user's powershell.config.json PSModulePath
The example here is Windows-specific:
In a new PowerShell instance:
Expected behavior
GetPSModulePath('User') should return the path the user has configured, so the two values should be the same.
Actual behavior
Environment data
The text was updated successfully, but these errors were encountered: