PSModuleAutoLoadingPreference Enum

Definition

Defines the preference options for the Module Auto-loading feature.

C++
public enum class PSModuleAutoLoadingPreference
Inheritance
PSModuleAutoLoadingPreference

Fields

Name Value Description
None 0

Do not auto-load modules when a command is not found.

ModuleQualified 1

Only auto-load modules when a command is not found, and the command is module-qualified.

All 2

Auto-load modules when a command is not found.

Applies to

Proizvod Verzije
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0