PSCmdlet.Host Property

Definition

Gets the host interaction APIs.

C++
public:
 property System::Management::Automation::Host::PSHost ^ Host { System::Management::Automation::Host::PSHost ^ get(); };

Property Value

Applies to

Product Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0