[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic') | Out-Null
$Value = [Microsoft.VisualBasic.Interaction]::InputBox("Enter a value", "Title", $null)
Details
Displays a pop-up box that prompts the user to enter a value. The value entered is then saved to a variable in the script.