PowerShell - 06.Operators

1 - Arithmetic Operators
2 - Assignment Operators 3 - Comparison Operators 4 - Logical Operators 5 - Redirection Operators 6 - Split & Join Operators 7 - Type Operators 8 - Unary Operators




1 - Arithmetic Operators
+, -, *, /, %

2 - Assignment Operators
=, +=, -=, *=, /=, %=

3 - Comparison Operators
-eq, -ne, -gt, -lt, -le, -ge

4 - Logical Operators
-and, -or, -xor, -not, !

5 - Redirection Operators
>, >>, 2>, 2>>, and 2>&1

6 - Split & Join Operators
-split and -join

7 - Type Operators
-is, -isnot, -as

8 - Unary Operators
 ++ and -- 

Related Links




Previous Post Next Post