Windows desktop applications
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CmdletProvider.Host Property


Updated: April 27, 2016

Applies To: Windows PowerShell

Gets the host that is used as the interface between the Windows PowerShell runtime and the user. The Windows PowerShell runtime uses this host to communicate to the user.

Namespace:   System.Management.Automation.Provider
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public PSHost Host { get; }

Property Value

Type: System.Management.Automation.Host.PSHost

A PSHost object that represents the host.

For more information about providers, see Windows PowerShell Providers [ps].

Return to top

Community Additions

© 2016 Microsoft