Comparison Operators

Here’s a list of Comparison Operators for use in Windows PowerShell

-Lt        Less than
-Le        Less than or equal to
-Gt        Greater than
-Ge        Greater than or equal to
-Eq        Equal to
-Ne        Not Equal to
-Like      Like wildcard pattern matching
-NotLike   Not like wildcard pattern matching
-Match     Regular expression pattern matching
-NotMatch  Regular expression pattern matching

 
Comments

No comments yet.

Leave a Reply