PS C:Powershell> $books="元素1","元素2","元素3" PS C:Powershell> $books[0] 元素1 PS C:Powershell> $books[1] 元素2 PS C:Powershell> $books[($book.Count-1)] 元素3 PS C:Powershell> $books[-1] 元素3
PS C:Powershell> $result=ls PS C:Powershell> $result[0,3,5,12] Directory: C:Powershell Mode LastWriteTime Length Name ---- ------------- ------ ---- d---- 2011/11/23 17:25 ABC -a--- 2011/11/24 20:04 26384 a.txt -a--- 2011/11/24 20:27 12060 alias.ps1 -a--- 2011/11/24 17:37 7420 name.html
PS C:Powershell> $books="元素1","元素2","元素3" PS C:Powershell> $books[($books.Count)..0] 元素3 元素2 元素1
PS C:Powershell> $books="元素1","元素2","元素3" PS C:Powershell> $books+="元素4" PS C:Powershell> $books 元素1 元素2 元素3 元素4
PS C:Powershell> $num=1..4 PS C:Powershell> $num 1 2 3 4 PS C:Powershell> $num=$num[0..1]+$num[3] PS C:Powershell> $num 1 2 4
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有