If/Else Statement

# If $value equals 1 write True, else write False
if($value -eq 1){
    Write-Host "True"
} else {
    Write-Host "False"
}
Details