Skip to content

Require Administrator Permission

  • When using Install-Module or Install-PSResource to install PSCompletions, we can specify the -Scope parameter.
  • If you specify -Scope AllUsers, the module will be installed to the system-level directory, and PSCompletions will need administrator permission to access it.
  • Therefore, you should avoid specifying -Scope AllUsers when installing PSCompletions.
  • If -Scope is necessary, you should specify -Scope CurrentUser.