Precedence, grouping, and sub-expressionsOperator precedenceGroupingSub-expression operatorArray sub-expression operatorUnary, binary, and ternary operatorsAbout the ternary operatorArithmetic operatorsAddition operatorSubtraction operatorMultiplication operatorDivision operatorRemainder operatorIncrement and decrement operatorsComparison operatorseq and nelike and notlikeGreater than and less thanCase sensitivityComparison operators and arraysComparisons to nullcontains and inRegular expression-based operatorsmatch and notmatchreplacesplitLogical operatorsandornotxor (eXclusive OR)Bitwise operatorsband (bitwise AND)bor (bitwise OR)bxor (bitwise eXclusive OR)bnot (bitwise NOT)shl and shr (shift left and right operators)Assignment operatorsAssign, add and assign, and subtract and assignMultiply and assign, divide and assign, and modulus and assignStatements can be assigned to a variableAssignment and other operatorsType operatorsasis and isnotRedirection operatorsAbout Write-HostRedirection to a filePowerShell and default file encodingRedirecting streams to standard outputOnly stdoutRedirection to nullOther operatorsCommaIndexRangeCallFormatjoinNull coalescingNull coalescing assignmentNull conditionalPipeline chainBackgroundSummary