$a = 2 | The basic variable assignment operator |
$a += 1 | Incremental assignment operator |
$a -= 1 | Decrement assignment operator |
$a -eq 0 | Equality comparison operator |
$a -ne 5 | Not-equal comparison operator |
$a -gt 2 | Greater than comparison operator |
$a -lt 3 | Less than comparison operator |
$FirstName = 'Trevor'$FirstName -like 'T*' | Perform string comparison using the -like operator, which supports the wildcard (*) character. Returns $true |