diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md index c68b6ce5ada0..63446087d8e8 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md @@ -1,7 +1,7 @@ --- description: Describes the operators that compare values in PowerShell. Locale: en-US -ms.date: 08/17/2023 +ms.date: 10/30/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comparison_operators?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Comparison Operators @@ -61,7 +61,9 @@ To make the case-insensitivity explicit, add an `i` after `-`. For example, `-ieq` is the explicitly case-insensitive version of `-eq`. String comparisons use the [InvariantCulture][01] for both case-sensitive and -case-insensitive comparisons. +case-insensitive comparisons. The comparisons are between unicode code points +and don't use culture-specific collation ordering. The results are the same +regardless of the current culture. When the input of an operator is a scalar value, the operator returns a **Boolean** value. When the input is a collection, the operator returns the diff --git a/reference/7.2/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md index f3a9797adfc6..4ca9946374ee 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md +++ b/reference/7.2/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md @@ -1,7 +1,7 @@ --- description: Describes the operators that compare values in PowerShell. Locale: en-US -ms.date: 08/17/2023 +ms.date: 10/30/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comparison_operators?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Comparison Operators @@ -61,7 +61,9 @@ To make the case-insensitivity explicit, add an `i` after `-`. For example, `-ieq` is the explicitly case-insensitive version of `-eq`. String comparisons use the [InvariantCulture][01] for both case-sensitive and -case-insensitive comparisons. +case-insensitive comparisons. The comparisons are between unicode code points +and don't use culture-specific collation ordering. The results are the same +regardless of the current culture. When the input of an operator is a scalar value, the operator returns a **Boolean** value. When the input is a collection, the operator returns the diff --git a/reference/7.3/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md b/reference/7.3/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md index ec7c146fc51f..a7d07f0af80c 100644 --- a/reference/7.3/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md +++ b/reference/7.3/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md @@ -1,7 +1,7 @@ --- description: Describes the operators that compare values in PowerShell. Locale: en-US -ms.date: 08/17/2023 +ms.date: 10/30/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comparison_operators?view=powershell-7.3&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Comparison Operators @@ -61,7 +61,9 @@ To make the case-insensitivity explicit, add an `i` after `-`. For example, `-ieq` is the explicitly case-insensitive version of `-eq`. String comparisons use the [InvariantCulture][01] for both case-sensitive and -case-insensitive comparisons. +case-insensitive comparisons. The comparisons are between unicode code points +and don't use culture-specific collation ordering. The results are the same +regardless of the current culture. When the input of an operator is a scalar value, the operator returns a **Boolean** value. When the input is a collection, the operator returns the diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md index b9b3caae8853..b0b7445645a7 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md @@ -1,7 +1,7 @@ --- description: Describes the operators that compare values in PowerShell. Locale: en-US -ms.date: 08/17/2023 +ms.date: 10/30/2023 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comparison_operators?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: about Comparison Operators @@ -61,7 +61,9 @@ To make the case-insensitivity explicit, add an `i` after `-`. For example, `-ieq` is the explicitly case-insensitive version of `-eq`. String comparisons use the [InvariantCulture][01] for both case-sensitive and -case-insensitive comparisons. +case-insensitive comparisons. The comparisons are between unicode code points +and don't use culture-specific collation ordering. The results are the same +regardless of the current culture. When the input of an operator is a scalar value, the operator returns a **Boolean** value. When the input is a collection, the operator returns the