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"