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
3838 internal const string MyInvocation = "MyInvocation" ;
3939 internal const string PSScriptRoot = "PSScriptRoot" ;
4040 internal const string PSCommandPath = "PSCommandPath" ;
41+ internal const string ExecutionContext = "ExecutionContext" ;
4142
4243 internal static readonly string [ ] InitializedVariables ;
4344
@@ -66,7 +67,8 @@ static SpecialVars()
6667 PSBoundParameters ,
6768 MyInvocation ,
6869 PSScriptRoot ,
69- PSCommandPath ,
70+ PSCommandPath ,
71+ ExecutionContext
7072 } ;
7173 internal static readonly Type [ ] AutomaticVariableTypes = new Type [ ]
7274 {
@@ -79,6 +81,7 @@ static SpecialVars()
7981 /* MyInvocation */ typeof ( InvocationInfo ) ,
8082 /* PSScriptRoot */ typeof ( string ) ,
8183 /* PSCommandPath */ typeof ( string ) ,
84+ /* ExecutionContext */ typeof ( EngineIntrinsics ) ,
8285 } ;
8386
8487
You can’t perform that action at this time.
0 commit comments