I have a problem with small script in Powershell. Here is my script:
$number = Read-Host "Enter a number"
if ($number -lt 3){
Write-Host "Number is too low."
break
}
But when I enter 25
, for example, the if
conditional still evaluates to true.