I need PS to compare a true whenever it finds a value in range of another value. For example on the second line down it falls within range of the first one. When I use compareTo it doesn't seem to work is there another method for this or does it have to
count in order to work out?
$a = 1 + (256 * 0) + (256 * 256 * 168) + (256 * 256 * 256 * 192) $b = 10 + (256 * 0) + (256 * 256 * 168) + (256 * 256 * 256 * 192) $c = $a, $b Write-Host $c $x = 4 + (256 * 0) + (256 * 256 * 168) + (256 * 256 * 256 * 192) $y = 8 + (256 * 0) + (256 * 256 * 168) + (256 * 256 * 256 * 192) $z = $x, $y Write-Host $z
3232235521 | 3232235530 |
3232235524 | 3232235528 |
177733988 | 177733998 |
3232235535 | 32322355 |