PowerTip: Use PowerShell to Obtain User Input

The Scripting Guys


Summary: Learn how to use Windows PowerShell to solicit user input.


Hey, Scripting Guy! QuestionHow can I solicit input from the user?

Hey, Scripting Guy! Answer Use the Read-Host cmdlet:

$in = Read-host “enter the data”


The Scripting Guys
Dr Scripto

Follow Dr   

No Comments.