Search notes:

PowerShell: the automatic variable $ExecutionContext

The type of $executionContext is System.Management.Automation.EngineIntrinsics. Such an object represents the execution context of the PowerShell host.

See also

Typically, $executionContext.SessionState.Path.CurrentLocation has the same value like $pwd, but is read-only, while $pwd is writable.
$psCmdLet
Other automatic variables
The .NET class System.Threading.ExecutionContext is not related to $executionContext.

Index