Powershell - 赋值运算符示例

以下脚本演示了赋值运算符。

> $a = 10
 
> $b = 20
 
> $c = $a + $b
 
> $c
 30
 
> $c += $a
 
> $c
 40

> $c -= $a
 
> $c
 30 

❮ powershell_operators.html