I'm using PowerShell ISE.I'm having trouble with my If statement. 

When I enter in my code 

```
$var = Read-Host ("enter a number")

If ($var = 1) {

    "var = 1"
}

If ($var = 1) {

    "var = 2"
}

```

I get a output of...

```
var = 1
var = 2

```

Can someone please help Me.