I have a strange problem.
Want to create a script that input user to insert a string and than loop again in the input request until leaved blank.

The script work well in PowerGUI continuing prompting a input request until i press only [Enter] than the script go on.
The problem appear when i try to use the script on a powershell shell.
Pressing only [Enter] let the DoWhile cycle continue to prompt me the input request without possibility to stop it unless CTRL-Z it.

Some ideas to why?

```
[Int] $num = 1
[Array] $conts = @()

do {
    $a = read-host "Indirizzo mail Contatto $num`?"
    if ($a -ne $null) {
            $num++
            $conts += $a
    } 

} while($a -ne $null)

Function CreaContatto {
    $mailContact = $args 
    $aliasContact = $args -replace ("@","_")
    New-MailContact -ExternalEmailAddress $mailContact -Name $mailContact -Alias $aliasContact
}

ForEach ($cont in $conts) {CreaContatto $cont}

```