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 @@ -38,6 +38,7 @@ internal class SpecialVars
38
38
internal const string MyInvocation = "MyInvocation" ;
39
39
internal const string PSScriptRoot = "PSScriptRoot" ;
40
40
internal const string PSCommandPath = "PSCommandPath" ;
41
+ internal const string ExecutionContext = "ExecutionContext" ;
41
42
42
43
internal static readonly string [ ] InitializedVariables ;
43
44
@@ -66,7 +67,8 @@ static SpecialVars()
66
67
PSBoundParameters ,
67
68
MyInvocation ,
68
69
PSScriptRoot ,
69
- PSCommandPath ,
70
+ PSCommandPath ,
71
+ ExecutionContext
70
72
} ;
71
73
internal static readonly Type [ ] AutomaticVariableTypes = new Type [ ]
72
74
{
@@ -79,6 +81,7 @@ static SpecialVars()
79
81
/* MyInvocation */ typeof ( InvocationInfo ) ,
80
82
/* PSScriptRoot */ typeof ( string ) ,
81
83
/* PSCommandPath */ typeof ( string ) ,
84
+ /* ExecutionContext */ typeof ( EngineIntrinsics ) ,
82
85
} ;
83
86
84
87
You can’t perform that action at this time.
0 commit comments