PowerShell: Prompt User for Input
Read-Host prompt_string
-
Ask user to type an input. return whatever user typed.
$name = Read-Host "Enter name"
Read-Host prompt_string
Ask user to type an input. return whatever user typed.
$name = Read-Host "Enter name"