📜  powershell scope CurrentUser - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:44.791000             🧑  作者: Mango

代码示例1
if ($env:PSModulePath -notlike "*D:\Documents\WindowsPowerShell\Modules*")
{
  $env:PSModulePath = $env:PSModulePath + ";D:\Documents\WindowsPowerShell\Modules"
}