导航

2011年9月30日 #

Powershell

摘要: 1.Variable declaration所有的变量都必须以$开始Example:[int]$valA = 2;[int]$valB = 3;[int]$valC = 0;$valC = $valA + $valB;write-host("The sum is: " + $valC);2.Arrays Example:$myArray = 1,2,3,4,5,6,7,8,9,10;[int] $... 阅读全文

posted @ 2011-09-30 12:57 水中游 阅读(1364) 评论(0) 推荐(0) 编辑