About 11,100 results
Open links in new tab
  1. about_Operators - PowerShell | Microsoft Learn

    Dec 2, 2019 · Long description An operator is a language element that you can use in a command or expression. PowerShell supports several types of operators to help you manipulate values.

  2. about_Comparison_Operators - PowerShell | Microsoft Learn

    Short description The comparison operators in PowerShell can either compare two values or filter elements of a collection against an input value.

  3. about_Logical_Operators - PowerShell | Microsoft Learn

    Sep 29, 2025 · The PowerShell logical operators connect expressions and statements, allowing you to use a single expression to test for multiple conditions. For example, the following …

  4. about_Type_Operators - PowerShell | Microsoft Learn

    The Boolean type operators (-is and -isnot) tell whether an object is an instance of a specified .NET type. The -is operator returns a value of TRUE if the type matches and a value of FALSE …

  5. about_Assignment_Operators - PowerShell | Microsoft Learn

    PowerShell also has the following compound assignment operators: +=, -=, *=, %=, ++, --, ??=. Compound assignment operators perform operations on the values before the assignment.

  6. about_Operator_Precedence - PowerShell | Microsoft Learn

    Mar 24, 2025 · This topic lists the operators in precedence order. Precedence order is the order in which PowerShell evaluates the operators when multiple operators appear in the same …

  7. Everything you wanted to know about the if statement - PowerShell

    Dec 18, 2023 · PowerShell has special operators for different comparison scenarios. When you use a comparison operator, the value on the left-hand side is compared to the value on the …

  8. about_Redirection - PowerShell | Microsoft Learn

    Use the PowerShell redirection operators. Redirecting the output of a PowerShell command (cmdlet, function, script) using the redirection operator (>) is functionally equivalent to piping to …

  9. Where-Object (Microsoft.PowerShell.Core) - PowerShell

    To enable the simiplified syntax, Where-Object includes 31 switch parameters that represent the comparison operators. The simplified syntax is easier to read and write than the script block …

  10. about_Pipeline_Chain_Operators - PowerShell | Microsoft Learn

    Jan 19, 2024 · These operators are known in PowerShell as pipeline chain operators, and are similar to AND-OR lists in POSIX shells like bash, zsh and sh, as well as conditional …