PowerShell Snippets: Prompt for User Input

PowerShellThis post is part of the series on PowerShell Snippets.

The following PowerShell command will prompt the user to input some text which is then stored in the $ghTag parameter for later use:

$ghTag = Read-Host "Please enter the tag"

What should we write about next?

If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.

Your Name

Your Email

Suggested Topic

Suggestion Details

Leave a Reply

Your email address will not be published. Required fields are marked *