PowerShell实现统计函数嵌套深度(powershell 运行脚本)没想到

随心笔谈2年前发布 编辑
134 0
🌐 经济型:买域名、轻量云服务器、用途:游戏 网站等 《腾讯云》特点:特价机便宜 适合初学者用 点我优惠购买
🚀 拓展型:买域名、轻量云服务器、用途:游戏 网站等 《阿里云》特点:中档服务器便宜 域名备案事多 点我优惠购买
🛡️ 稳定型:买域名、轻量云服务器、用途:游戏 网站等 《西部数码》 特点:比上两家略贵但是稳定性超好事也少 点我优惠购买


PS C:\> Test-Diving -Depth 1
diving deeper to 1 meters…
calculated depth: 1
diving deeper to 2 meters…
calculated depth: 2
diving deeper to 3 meters…
calculated depth: 3
diving deeper to 4 meters…
calculated depth: 4
diving deeper to 5 meters…
calculated depth: 5
diving deeper to 6 meters…
calculated depth: 6
diving deeper to 7 meters…
calculated depth: 7
diving deeper to 8 meters…
calculated depth: 8
diving deeper to 9 meters…
calculated depth: 9
diving deeper to 10 meters…
calculated depth: 10

PS C:\> & { Test-Diving -Depth 1 }
diving deeper to 1 meters…
calculated depth: 2
diving deeper to 2 meters…
calculated depth: 3
diving deeper to 3 meters…
calculated depth: 4
diving deeper to 4 meters…
calculated depth: 5
diving deeper to 5 meters…
calculated depth: 6
diving deeper to 6 meters…
calculated depth: 7
diving deeper to 7 meters…
calculated depth: 8
diving deeper to 8 meters…
calculated depth: 9
diving deeper to 9 meters…
calculated depth: 10
diving deeper to 10 meters…
calculated depth: 11

PS C:\>

© 版权声明

相关文章