PSHostUserInterface Methods
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
System.Management.Automation.Host Namespace
(see also Protected Methods)
| Name | Description | |
|---|---|---|
![]() | ToString | (Inherited from Object) |
![]() | Equals | (Inherited from Object) |
![]() | GetHashCode | (Inherited from Object) |
![]() | GetType | (Inherited from Object) |
![]() | Prompt | Prompts the user for input. |
![]() | PromptForChoice | Provides a set of choices that enable the user to choose a single option from a set of options. |
![]() | PromptForCredential | Prompts the user for credentials with a specified prompt window caption, prompt message, user name, and target name. |
![]() | PromptForCredential | Prompts the user for credentials by using a specified prompt window caption, prompt message, user name and target name, credential types allowed to be returned, and UI behavior options. |
![]() | ReadLine | Reads characters that are entered by the user until a newline (carriage return) is encountered. |
![]() | ReadLineAsSecureString | Reads characters entered by the user until a newline (carriage return) is encountered and returns the characters as a secure string. |
![]() | Write | Writes characters to the output display of the host with possible foreground and background colors. |
![]() | Write | Writes characters to the output display of the host. |
![]() | WriteDebugLine | Displays a debug message to the user. |
![]() | WriteErrorLine | Writes a line to the error display of the host. |
![]() | WriteLine | Writes a new line character (carriage return) to the output display of the host. |
![]() | WriteLine | Writes a line of characters to the output display of the host with foreground and background colors and appends a newline (carriage return). |
![]() | WriteLine | Writes a line of characters to the output display of the host and appends a newline (carriage return). |
![]() | WriteProgress | Writes a progress report to be displayed to the user. |
![]() | WriteVerboseLine | Writes a verbose line to be displayed to the user. |
![]() | WriteWarningLine | Writes a warning line to be displayed to the user. |
| Name | Description | |
|---|---|---|
|
Finalize | (Inherited from Object) |
|
MemberwiseClone | (Inherited from Object) |
Reference
PSHostUserInterface ClassSystem.Management.Automation.Host Namespace
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.
