Read-Host


Reads a line of input from the host console.

Snap-In: Microsoft.PowerShell.Utility

Syntax:

Read-Host [

 [-Prompt] <Object>] [-AsSecureString] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] 

Description:

The read-host accepts or reads what is input into the host, usually from a keyboard. It allows you to compose a prompt and assign variables to what is input at the prompt. You can also assign a variable to the cmdlet itself.



Windows PowerShell. TFM
Internet Forensics
ISBN: 982131445
EAN: 2147483647
Year: 2004
Pages: 289

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net