$hostの謎

$hostは現在実行中のホスト情報を格納しています。

「$host」の型は何?

MSH C:\> $host.gettype()

IsPublic IsSerial Name          BaseType
-------- -------- ----          --------
False    False    InternalHost  System.Management.Automation.Host.MshHost


MSH C:\> $host.gettype().fullname
System.Management.Automation.Internal.Host.InternalHost
  • 型:「System.Management.Automation.Host.MshHost」
  • インスタンス名:InternalHost

$hostは、「System.Management.Automation.Host.MshHost」ということになります。


では、InternalHostの1階層上の部分、
System.Management.Automation.Internal.HostMSDNにも載っていませんが、何者なのでしょうか。