This namespace contains the classes, enumerations, and interfaces that are used to define the host that is used by the Windows PowerShell runtime to communicate with the user.

Classes
| Class | Description |
|---|
| ChoiceDescription | Defines a choice that can be presented to the user by the Host interface, such as Yes to &All. |
| FieldDescription | Represents an option that is used in a Windows PowerShell prompt call. |
| HostException | The exception thrown when the host cannot complete an operation, such as when the host is checking whether there is any input available. |
| PromptingException | The exception that is thrown when an error occurs while the host displays a prompt for a command parameter. |
| PSHost | Defines the properties and methods required to create a custom host. |
| PSHostRawUserInterface | Defines the low-level user functionality, such as read and write, that a host application can implement to support cmdlets that perform character-mode interaction with the user. |
| PSHostUserInterface | Defines those members used to perform dialog-oriented and line-oriented interaction between the cmdlet and the user, such as writing to, prompting for, and reading from user input. |

Interfaces
| Interface | Description |
|---|
| IHostSupportsInteractiveSession | Provides support for opening and closing, entering and exiting, a PSSession on a computer. This class is introduced in Windows PowerShell 2.0. |
| IHostUISupportsMultipleChoiceSelection | Provides a set of choices that enable the user to choose one or more options. This interface is introduced in Windows PowerShell 2.0. |

Structures
| Structure | Description |
|---|
| BufferCell | Represents a buffer cell that has a specific character, foreground color, background color, and cell type. |
| Coordinates | Defines the X (column) and Y (row) coordinates that are used to describe the corners of a Rectangle object. |
| KeyInfo | Represents key information such as the character, virtual key code, the state of any associated control keys, and the state of the key (down). |
| Rectangle | Represents a rectangular region of the screen. |
| Size | Represents a width and height pair. |

Enumerations
| Enumeration | Description |
|---|
| BufferCellType | Defines the type of buffer cells that can be used to display single-cell or double-cell characters. For example, is the cell complete or is a leading or trailing cell for double-cell characters. |
| ControlKeyStates | Defines the states of specific control keys, such as the ALT key, CTRL key, SCROLL key, and CAPSLOCK key. |
| ReadKeyOptions | Defines the options used to control the behavior of the ReadKey method. |