About 50 results
Open links in new tab
  1. 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.

  2. about_Operators - PowerShell | Microsoft Learn

    Dec 2, 2019 · Use comparison operators (-eq, -ne, -gt, -lt, -le, -ge) to compare values and test conditions. For example, you can compare two string values to determine whether they're equal.

  3. about_Logical_Operators - PowerShell | Microsoft Learn

    Jan 7, 2026 · The PowerShell logical operators connect expressions and statements, allowing you to use a single expression to test for multiple conditions. Statements that use the logical operators …

  4. Formatting, aliases, providers, comparison - PowerShell

    Jan 9, 2025 · PowerShell contains various comparison operators that are used to compare values or find values that match certain patterns. The following table contains a list of comparison operators in …

  5. 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 scriptblock syntax.

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

    Jan 18, 2026 · 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 right-hand side.

  7. about_Operator_Precedence - PowerShell | Microsoft Learn

    Jan 7, 2026 · When operators have equal precedence, PowerShell evaluates them from left to right as they appear within the expression. The exceptions are the assignment operators, the cast operators, …

  8. Über Vergleichsoperatoren - PowerShell | Microsoft Learn

    Kurzbeschreibung Die Vergleichsoperatoren in PowerShell können entweder zwei Werte vergleichen oder Elemente einer Auflistung anhand eines Eingabewerts filtern.

  9. à_propos_des_opérateurs_de_comparaison - PowerShell

    Brève description Les opérateurs de comparaison dans PowerShell peuvent comparer deux valeurs ou filtrer des éléments d’une collection par rapport à une valeur d’entrée.

  10. Compare-Object (Microsoft.PowerShell.Utility) - PowerShell

    You can provide one or more properties to be used for comparison. When properties are provided, the cmdlet compares the values of those properties only. The result of the comparison indicates whether …