PowerShell中的数组可以不通过管道,直接使用通配符进行迭代验证。例如检查 […] PowerShell使用通配符验证数组2012年9月11日 在 Powershell / Powershell小技巧 标签 数组 来自 Mooser Lee
调用Powershell的命令或者函数,Powershell会用一种内部机制来处 […] Powershell将结果转换为数组2012年9月4日 在 Powershell / Powershell小技巧 标签 数组 来自 Mooser Lee
3 Powershell中默认创建的数组是非对称的,即锯齿数组。使用下面的方法可以创 […] Powershell 对称数组2012年5月21日 在 Powershell 标签 Powershell教程 / 数组 来自 Mooser Lee
3 Powershell 中的比较运算符 -eq :等于 -ne :不等于 -gt […] Powershell 条件操作符2012年1月16日 在 Powershell 标签 Powershell教程 / 布尔 / 数组 / 条件 / 比较 / 集合 来自 Mooser Lee
4 数组属于引用类型,使用默认的的赋值运算符在两个变量之间赋值只是复制了一个引用,两 […] Powershell复制数组2011年12月14日 在 Powershell 标签 Powershell教程 / 变量 / 引用 / 数组 来自 Mooser Lee
2 哈希表存放的是对,在哈希表中不再仅仅限制使用数字寻址,可以使用任意类型的数据类型 […] Powershell使用哈希表2011年12月14日 在 Powershell 标签 Powershell教程 / 变量 / 哈希表 / 数组 / 格式化 来自 Mooser Lee
3 数组的元素可以使用索引寻址,第一个元素的索引为0,第i个元素的索引为i-1,最后 […] Powershell访问数组2011年12月14日 在 Powershell 标签 Powershell教程 / 变量 / 寻址 / 数组 / 索引 / 访问 来自 Mooser Lee
5 在Powershell中创建数组可以使用逗号。 PS C:Powershell& […] Powershell创建数组2011年12月14日 在 Powershell 标签 Powershell教程 / 变量 / 多态 / 多维 / 数组 来自 Mooser Lee
当我们把一个命令的执行结果保存到一个变量中,可能会认为变量存放的是纯文本。 但是 […] Powershell命令返回数组2011年12月13日 在 Powershell 标签 Powershell教程 / 对象 / 数组 / 文本 / 管道 来自 Mooser Lee
2 Powershell数组一般具有多态性,如果你不指定元素的具体类型,解释器会自动 […] Powershell强类型数组2011年12月12日 在 Powershell 标签 Powershell教程 / 变量 / 异常 / 数据 / 数组 / 类型 来自 Mooser Lee