diff --git a/reference/6/PowerShellGet/Install-Module.md b/reference/6/PowerShellGet/Install-Module.md index 9592cd011744..e251562f48e9 100644 --- a/reference/6/PowerShellGet/Install-Module.md +++ b/reference/6/PowerShellGet/Install-Module.md @@ -360,13 +360,11 @@ the computer: `$home\Documents\PowerShell\Modules` -When no **Scope** is defined, the default is set based on the current session: +When no **Scope** is defined, the default is set based on the PowerShellGet version. -- For an elevated PowerShell session, **Scope** defaults to **AllUsers**. -- For non-elevated PowerShell sessions in [PowerShellGet versions 2.0.0](https://www.powershellgallery.com/packages/PowerShellGet) - and above, the **Scope** is **CurrentUser**. -- For non-elevated PowerShell sessions in PowerShellGet versions 1.6.7 and earlier, **Scope** is - undefined, and `Install-Module` fails. +- In PowerShellGet versions 2.0.0 and above, the default is **CurrentUser**, which does not require + elevation for install. +- In PowerShellGet 1.x versions, the default is **AllUsers**, which requires elevation for install. ```yaml Type: String @@ -498,4 +496,4 @@ the **RequiredVersion** value. [Uninstall-Module](Uninstall-Module.md) -[Update-Module](Update-Module.md) \ No newline at end of file +[Update-Module](Update-Module.md)