Updates from: 04/23/2021 03:18:33
Service Microsoft Docs article Related commit history on GitHub Change details
Microsoft.PowerShell.Core About Operators (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Core/About/about_Operators.md
description: Describes the operators that are supported by PowerShell. keywords: powershell,cmdlet Locale: en-US Previously updated : 11/09/2020 Last updated : 04/22/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_operators?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about_Operators
For more information, see [about_Type_Operators](about_Type_Operators.md).
### Unary Operators
-Use unary operators to increment or decrement variables or object properties
-and to set integers to positive or negative numbers. For example, to increment
-the variable `$a` from `9` to `10`, you type `$a++`.
+Use the unary `++` and `--` operators to increment or decrement values and
+`-` for negation. For example, to increment the variable `$a` from `9` to
+`10`, you type `$a++`.
+
+For more information, see [about_Arithmetic_Operators](about_Arithmetic_Operators.md).
### Special Operators
Microsoft.PowerShell.Core About Operators (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/About/about_Operators.md
description: Describes the operators that are supported by PowerShell. keywords: powershell,cmdlet Locale: en-US Previously updated : 11/09/2020 Last updated : 04/22/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_operators?view=powershell-7&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about_Operators
For more information, see [about_Type_Operators](about_Type_Operators.md).
### Unary Operators
-Use unary operators to increment or decrement variables or object properties
-and to set integers to positive or negative numbers. For example, to increment
-the variable `$a` from `9` to `10`, you type `$a++`.
+Use the unary `++` and `--` operators to increment or decrement values and
+`-` for negation. For example, to increment the variable `$a` from `9` to
+`10`, you type `$a++`.
+
+For more information, see [about_Arithmetic_Operators](about_Arithmetic_Operators.md).
### Special Operators
Microsoft.PowerShell.Core About Operators (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/About/about_Operators.md
description: Describes the operators that are supported by PowerShell. keywords: powershell,cmdlet Locale: en-US Previously updated : 10/28/2020 Last updated : 04/22/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_operators?view=powershell-7.1&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about_Operators
For more information, see [about_Type_Operators](about_Type_Operators.md).
### Unary Operators
-Use unary operators to increment or decrement variables or object properties
-and to set integers to positive or negative numbers. For example, to increment
-the variable `$a` from `9` to `10`, you type `$a++`.
+Use the unary `++` and `--` operators to increment or decrement values and
+`-` for negation. For example, to increment the variable `$a` from `9` to
+`10`, you type `$a++`.
+
+For more information, see [about_Arithmetic_Operators](about_Arithmetic_Operators.md).
### Special Operators
Microsoft.PowerShell.Core About Operators (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/About/about_Operators.md
--- description: Describes the operators that are supported by PowerShell. Locale: en-US Previously updated : 10/28/2020 Last updated : 04/22/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_operators?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about_Operators
For more information, see [about_Type_Operators](about_Type_Operators.md).
### Unary Operators
-Use unary operators to increment or decrement variables or object properties
-and to set integers to positive or negative numbers. For example, to increment
-the variable `$a` from `9` to `10`, you type `$a++`.
+Use the unary `++` and `--` operators to increment or decrement values and
+`-` for negation. For example, to increment the variable `$a` from `9` to
+`10`, you type `$a++`.
+
+For more information, see [about_Arithmetic_Operators](about_Arithmetic_Operators.md).
### Special Operators