Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » Read-Host

Read-Host - Powershell 2.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Read-Host

Short description
Reads a line of input from the console.

Syntax
Read-Host [[-Prompt] <Object>] [-AsSecureString] [<CommonParameters>]

Description
The Read-Host cmdlet reads a line of input from the console. You can use it to prompt a user for input. Because you
 can save the input as a secure string, you can use this cmdlet to prompt users for secure data, such as passwords,
 as well as shared data.