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 know why this is happening given how #11057 was implemented. Is there any sort of workaround, other than explicitly resetting the PSModulePath in the Windows Powershell script?
Steps to reproduce
Set up invocation of powershell.exe in some sort of non-PS tool. In my case, a post-action on a dotnet new template.
I know why this is happening given how #11057 was implemented. Is there any sort of workaround, other than explicitly resetting the PSModulePath in the Windows Powershell script?
Steps to reproduce
dotnet newtemplate.Expected behavior
powershell.exe has correct PSModulePath.
Actual behavior
powershell.exe still has PS7 values in PSModulePath.
Environment data