System.Management.Automation.Internal.Host.InternalHost
is the type of the automatic PowerShell variable $host
(which is the same as the object returned by the cmdLet get-host
). System.Management.Automation.Host.PSHost
Host
of System.Management.Automation.EngineIntrinsics
.