mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-19 13:44:50 +00:00
Add additional check for each component of PSModulePath (that is set for WinPS process) - if it is has pwsh.exe in the parent directory, then it is considered another PS Core installation and this location is also filtered out.