Install-Module

Install PowerShell modules from PowerShell Gallery, NuGet, and other repositories. More information: https://learn.microsoft.com/powershell/module/powershellget/install-module.

Install-Module {{module}}

Install-Module {{module}} -RequiredVersion {{version}}

Install-Module {{module}} -MinimumVersion {{version}}

Install-Module {{module}} -MinimumVersion {{minimum_version}} -MaximumVersion {{maximum_version}}

Install-Module {{module}} -Repository {{repository}}

Install-Module {{module}} -Repository {{repository1 , repository2 , ...}}

Install-Module {{module}} -Scope {{AllUsers|CurrentUser}}

Install-Module {{module}} -WhatIf