File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ static SpecialVars()
9292 internal const string ProgressPreference = "ProgressPreference" ;
9393 internal const string InformationPreference = "InformationPreference" ;
9494 internal const string ErrorView = "ErrorView" ;
95+ internal const string PSNativeCommandUseErrorActionPreference = "PSNativeCommandUseErrorActionPreference" ;
9596
9697 internal static readonly string [ ] PreferenceVariables = new string [ ]
9798 {
@@ -103,7 +104,8 @@ static SpecialVars()
103104 ConfirmPreference ,
104105 ProgressPreference ,
105106 InformationPreference ,
106- ErrorView
107+ ErrorView ,
108+ PSNativeCommandUseErrorActionPreference ,
107109 } ;
108110
109111 internal static readonly Type [ ] PreferenceVariableTypes = new Type [ ]
@@ -117,6 +119,7 @@ static SpecialVars()
117119 /* ProgressPreference */ typeof ( Enum ) ,
118120 /* InformationPreference */ typeof ( ActionPreference ) ,
119121 /* ErrorView */ typeof ( Enum ) , //ErrorView type not available on PS3
122+ /* PSNativeCommandUseErrorActionPreference */ typeof ( bool ) ,
120123 } ;
121124
122125 internal enum AutomaticVariable
You can’t perform that action at this time.
0 commit comments