Changes

Basic Windows PowerShell 1.0 Operators

1 byte added, 19:48, 14 May 2009
no edit summary
== Windows PowerShell Arithmetic Operators ==
Windows PowerShell provides a range of operators for the purpose of creating mathematical expressions. These operators primarily fall into the category of ''binary'' operators in that they take two operands. The exception is the ''unary negative operator'' (-) which serves to indicate that a value is negative rather than positive. This contrasts the the ''subtraction operator'' (-) which takes two operands (i.e . one value to be subtracted from another). The behavior of a number of these operators varies depending on whether the operands are numbers, strings, arrays or hashtables.
The following table lists the primary Windows PowerShell arithmetic operators: