diff --git a/reference/5.1/Microsoft.PowerShell.Core/Get-Module.md b/reference/5.1/Microsoft.PowerShell.Core/Get-Module.md index c2145e2c5806..7e4fc8619f1a 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/Get-Module.md +++ b/reference/5.1/Microsoft.PowerShell.Core/Get-Module.md @@ -495,12 +495,9 @@ Accept wildcard characters: False ### -ListAvailable -Indicates that this cmdlet gets all installed modules. `Get-Module` gets modules in paths listed in -the **PSModulePath** environment variable. Without this parameter, `Get-Module` gets only the -modules that are both listed in the **PSModulePath** environment variable, and that are loaded in -the current session. **ListAvailable** does not return information about modules that are not found -in the **PSModulePath** environment variable, even if those modules are loaded in the current -session. +By default, `Get-Module` only returns the modules that have been imported into the current session. +With this parameter the command lists modules installed in any path included in the +`$env:PSModulePath` environment variable. ```yaml Type: System.Management.Automation.SwitchParameter diff --git a/reference/7.4/Microsoft.PowerShell.Core/Get-Module.md b/reference/7.4/Microsoft.PowerShell.Core/Get-Module.md index 3bb44ce89e40..aa7138e19474 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/Get-Module.md +++ b/reference/7.4/Microsoft.PowerShell.Core/Get-Module.md @@ -496,12 +496,9 @@ Accept wildcard characters: False ### -ListAvailable -Indicates that this cmdlet gets all installed modules. `Get-Module` gets modules in paths listed in -the **PSModulePath** environment variable. Without this parameter, `Get-Module` gets only the -modules that are both listed in the **PSModulePath** environment variable, and that are loaded in -the current session. **ListAvailable** does not return information about modules that are not found -in the **PSModulePath** environment variable, even if those modules are loaded in the current -session. +By default, `Get-Module` only returns the modules that have been imported into the current session. +With this parameter the command lists modules installed in any path included in the +`$env:PSModulePath` environment variable. ```yaml Type: System.Management.Automation.SwitchParameter diff --git a/reference/7.5/Microsoft.PowerShell.Core/Get-Module.md b/reference/7.5/Microsoft.PowerShell.Core/Get-Module.md index e253f803558c..c0636f5b17d6 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/Get-Module.md +++ b/reference/7.5/Microsoft.PowerShell.Core/Get-Module.md @@ -496,12 +496,9 @@ Accept wildcard characters: False ### -ListAvailable -Indicates that this cmdlet gets all installed modules. `Get-Module` gets modules in paths listed in -the **PSModulePath** environment variable. Without this parameter, `Get-Module` gets only the -modules that are both listed in the **PSModulePath** environment variable, and that are loaded in -the current session. **ListAvailable** does not return information about modules that are not found -in the **PSModulePath** environment variable, even if those modules are loaded in the current -session. +By default, `Get-Module` only returns the modules that have been imported into the current session. +With this parameter the command lists modules installed in any path included in the +`$env:PSModulePath` environment variable. ```yaml Type: System.Management.Automation.SwitchParameter diff --git a/reference/7.6/Microsoft.PowerShell.Core/Get-Module.md b/reference/7.6/Microsoft.PowerShell.Core/Get-Module.md index 879712f7ffaa..086526918748 100644 --- a/reference/7.6/Microsoft.PowerShell.Core/Get-Module.md +++ b/reference/7.6/Microsoft.PowerShell.Core/Get-Module.md @@ -496,12 +496,9 @@ Accept wildcard characters: False ### -ListAvailable -Indicates that this cmdlet gets all installed modules. `Get-Module` gets modules in paths listed in -the **PSModulePath** environment variable. Without this parameter, `Get-Module` gets only the -modules that are both listed in the **PSModulePath** environment variable, and that are loaded in -the current session. **ListAvailable** does not return information about modules that are not found -in the **PSModulePath** environment variable, even if those modules are loaded in the current -session. +By default, `Get-Module` only returns the modules that have been imported into the current session. +With this parameter the command lists modules installed in any path included in the +`$env:PSModulePath` environment variable. ```yaml Type: System.Management.Automation.SwitchParameter