@@ -96,27 +96,30 @@ static SpecialVars()
96
96
internal const string WarningPreference = "WarningPreference" ;
97
97
internal const string ConfirmPreference = "ConfirmPreference" ;
98
98
internal const string ProgressPreference = "ProgressPreference" ;
99
+ internal const string InformationPreference = "InformationPreference" ;
99
100
100
- internal static readonly string [ ] PreferenceVariables = new string [ ]
101
- {
102
- DebugPreference ,
103
- VerbosePreference ,
104
- ErrorActionPreference ,
105
- WhatIfPreference ,
106
- WarningPreference ,
101
+ internal static readonly string [ ] PreferenceVariables = new string [ ]
102
+ {
103
+ DebugPreference ,
104
+ VerbosePreference ,
105
+ ErrorActionPreference ,
106
+ WhatIfPreference ,
107
+ WarningPreference ,
107
108
ConfirmPreference ,
108
- ProgressPreference
109
+ ProgressPreference ,
110
+ InformationPreference
109
111
} ;
110
112
111
- internal static readonly Type [ ] PreferenceVariableTypes = new Type [ ]
112
- {
113
- /* DebugPreference */ typeof ( ActionPreference ) ,
114
- /* VerbosePreference */ typeof ( ActionPreference ) ,
115
- /* ErrorPreference */ typeof ( ActionPreference ) ,
116
- /* WhatIfPreference */ typeof ( SwitchParameter ) ,
117
- /* WarningPreference */ typeof ( ActionPreference ) ,
118
- /* ConfirmPreference */ typeof ( ConfirmImpact ) ,
113
+ internal static readonly Type [ ] PreferenceVariableTypes = new Type [ ]
114
+ {
115
+ /* DebugPreference */ typeof ( ActionPreference ) ,
116
+ /* VerbosePreference */ typeof ( ActionPreference ) ,
117
+ /* ErrorPreference */ typeof ( ActionPreference ) ,
118
+ /* WhatIfPreference */ typeof ( SwitchParameter ) ,
119
+ /* WarningPreference */ typeof ( ActionPreference ) ,
120
+ /* ConfirmPreference */ typeof ( ConfirmImpact ) ,
119
121
/* ProgressPreference */ typeof ( Enum ) ,
122
+ /* InformationPreference */ typeof ( ActionPreference ) ,
120
123
} ;
121
124
122
125
internal enum AutomaticVariable
@@ -156,6 +159,7 @@ internal enum PreferenceVariable
156
159
internal const string PathExt = "env:PATHEXT" ;
157
160
internal const string PSEmailServer = "PSEmailServer" ;
158
161
internal const string PSDefaultParameterValues = "PSDefaultParameterValues" ;
162
+ internal const string PSModuleAutoLoadingPreference = "PSModuleAutoLoadingPreference" ;
159
163
internal const string pwd = "PWD" ;
160
164
internal const string Null = "null" ;
161
165
internal const string True = "true" ;
@@ -176,6 +180,7 @@ internal enum PreferenceVariable
176
180
PathExt ,
177
181
PSEmailServer ,
178
182
PSDefaultParameterValues ,
183
+ PSModuleAutoLoadingPreference ,
179
184
pwd ,
180
185
Null ,
181
186
True ,
0 commit comments