PowerShell: Prompt User for Input

By Xah Lee. Date: .
Read-Host prompt_string
Ask user to type an input. return whatever user typed.
$name = Read-Host "Enter name"

PowerShell: Input/Output