How to run PowerShell as an administrator Some commands and cmdlets require elevated privileges. Examples of actions that require administrator rights are service management (install, start, stop, uninstall) and package management (add and remove package providers, install and remove packages). For example, the following cmdlet tries to add a new package provider: Install-PackageProvider chocolatey It will throw the following error:...