PowerShell
0 人感兴趣 · 19 次引用
- 最新
- 推荐



PowerShell 哈希表
PowerShell 哈希表是一种数据结构,用于存储一个或多个键/值对。也称为字典或关联数组。在 PowerShell中,每个哈希表都有一个哈希表对象。我们可以在 PowerShell 中使用 Hashtable 对象的属性和方法。 哈希表中的键和值也是.NET类型的对象。

PowerShell 数组
与其他脚本语言一样,Windows PowerShell也支持名为数组的数据结构。 PowerShell中的数组是一种数据结构,用于将值的集合存储在单个变量中。 数组中的值可以是相同类型或不同类型。例如可以是字符串,整数,通用对象或其他数组。数组中的每个元素或值都有一个

【21-16】PowerShell 循环
PowerShell 提供四种循环语法for、forEach、while和 do...while。


【21-13】PowerShell 运算符
PowerShell 提供了丰富的操作符来操作变量。我们可以将所有 PowerShell 运算符简单可以简单划分为以下几组



【21-10】PowerShell 日期和时间
在日常的使用过程中不可避免的我们需要进程获取时间和日期,在 PowerShell 中这个指令是 Get-Date 。



【21-3】PowerShell 环境
PowerShell 图标可以在任务栏和开始菜单中找到。只需点击图标,它就会打开。

【21-2】什么是 PowerShell
微软认为 PowerShell 是一种跨平台的任务自动化解决方案。PowerShell 由命令行 shell、脚本语言和配置管理框架组成,可以在 Windows、Linux 和 macOS 上运行。



又踩 Maven 的两个坑
1、安装mvnw时报错:Unknown lifecycle phase 2、命令行里执行mvn时,Maven的配置(settings.xml)没生效?