File tree Expand file tree Collapse file tree 4 files changed +12
-24
lines changed
5.1/Microsoft.PowerShell.Core
7.4/Microsoft.PowerShell.Core
7.5/Microsoft.PowerShell.Core
7.6/Microsoft.PowerShell.Core Expand file tree Collapse file tree 4 files changed +12
-24
lines changed Original file line number Diff line number Diff line change @@ -495,12 +495,9 @@ Accept wildcard characters: False
495495
496496# ## -ListAvailable
497497
498- Indicates that this cmdlet gets all installed modules. `Get-Module` gets modules in paths listed in
499- the **PSModulePath** environment variable. Without this parameter, `Get-Module` gets only the
500- modules that are both listed in the **PSModulePath** environment variable, and that are loaded in
501- the current session. **ListAvailable** does not return information about modules that are not found
502- in the **PSModulePath** environment variable, even if those modules are loaded in the current
503- session.
498+ By default, `Get-Module` only returns the modules that have been imported into the current session.
499+ With this parameter the command lists modules installed in any path included in the
500+ ` $env:PSModulePath` environment variable.
504501
505502` ` ` yaml
506503Type: System.Management.Automation.SwitchParameter
Original file line number Diff line number Diff line change @@ -496,12 +496,9 @@ Accept wildcard characters: False
496496
497497# ## -ListAvailable
498498
499- Indicates that this cmdlet gets all installed modules. `Get-Module` gets modules in paths listed in
500- the **PSModulePath** environment variable. Without this parameter, `Get-Module` gets only the
501- modules that are both listed in the **PSModulePath** environment variable, and that are loaded in
502- the current session. **ListAvailable** does not return information about modules that are not found
503- in the **PSModulePath** environment variable, even if those modules are loaded in the current
504- session.
499+ By default, `Get-Module` only returns the modules that have been imported into the current session.
500+ With this parameter the command lists modules installed in any path included in the
501+ ` $env:PSModulePath` environment variable.
505502
506503` ` ` yaml
507504Type: System.Management.Automation.SwitchParameter
Original file line number Diff line number Diff line change @@ -496,12 +496,9 @@ Accept wildcard characters: False
496496
497497# ## -ListAvailable
498498
499- Indicates that this cmdlet gets all installed modules. `Get-Module` gets modules in paths listed in
500- the **PSModulePath** environment variable. Without this parameter, `Get-Module` gets only the
501- modules that are both listed in the **PSModulePath** environment variable, and that are loaded in
502- the current session. **ListAvailable** does not return information about modules that are not found
503- in the **PSModulePath** environment variable, even if those modules are loaded in the current
504- session.
499+ By default, `Get-Module` only returns the modules that have been imported into the current session.
500+ With this parameter the command lists modules installed in any path included in the
501+ ` $env:PSModulePath` environment variable.
505502
506503` ` ` yaml
507504Type: System.Management.Automation.SwitchParameter
Original file line number Diff line number Diff line change @@ -496,12 +496,9 @@ Accept wildcard characters: False
496496
497497# ## -ListAvailable
498498
499- Indicates that this cmdlet gets all installed modules. `Get-Module` gets modules in paths listed in
500- the **PSModulePath** environment variable. Without this parameter, `Get-Module` gets only the
501- modules that are both listed in the **PSModulePath** environment variable, and that are loaded in
502- the current session. **ListAvailable** does not return information about modules that are not found
503- in the **PSModulePath** environment variable, even if those modules are loaded in the current
504- session.
499+ By default, `Get-Module` only returns the modules that have been imported into the current session.
500+ With this parameter the command lists modules installed in any path included in the
501+ ` $env:PSModulePath` environment variable.
505502
506503` ` ` yaml
507504Type: System.Management.Automation.SwitchParameter
You can’t perform that action at this time.
0 commit comments