powershell.exe
or the Integrated Script Environment (ISE). write-
commands are presented to the user by the host. System.Management.Automation.EngineIntrinsics
object. The automatic PowerShell variable $executionContext
stores such an instance. $host
.