February 2019
Intermediate to advanced
626 pages
15h 51m
English
The Install-Module command installs or updates modules from the PowerShell Gallery or any other configured repository. By default, Install-Module adds modules to the path for AllUsers, at C:\Program Files\WindowsPowerShell\Modules.
For example, the posh-git module may be installed using either of the following two commands:
Find-Module posh-git | Install-Module Install-Module posh-git
Modules may be installed under a user-specific path ($home\Documents\WindowsPowerShell\Modules) using the Scope parameter:
Install-Module carbon -Scope CurrentUser
If the most recent version of a module is already installed, the command ...
Read now
Unlock full access