PSModuleAutoLoadingPreference Enum

Definition

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

public enum class PSModuleAutoLoadingPreference
public enum PSModuleAutoLoadingPreference
type PSModuleAutoLoadingPreference = 
Public Enum PSModuleAutoLoadingPreference
Inheritance
PSModuleAutoLoadingPreference

Fields

All 2

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.

None 0

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

Applies to