PowerShell 在 PowerShell 中临时修改 PATH —— 通过 Process 作用域测试同名 CLI 的搜索顺序
在不修改 User/Machine PATH 的情况下,仅在当前 PowerShell 中切换 PATH 开头,并使用 Get-Command -All 观察同名命令的搜索顺序。
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell
PowerShell