October 2017
Intermediate to advanced
440 pages
11h 47m
English
When comparing numbers, each of the operators -ge (greater than or equal to), -gt (greater than), -le (less than or equal to), and -lt (less than) are simple to use:
1 -ge 1 # Returns true 2 -gt 1 # Returns true 1.4 -lt 1.9 # Returns true 1.1 -le 1.1 # Returns true
String comparison with operators follows the generalized pattern 0123456789aAbBcCdD... rather than basing on a character table (such as ASCII):
Comparison can be culture sensitive when using commands such as Sort-Object with the Culture parameter, but comparisons are ...
Read now
Unlock full access