安装和使用powershell7

📅 2026/7/10 0:43:21
安装和使用powershell7
1.安装参考链接使用 WinGet 安装 PowerShell搜索最新版本的 PowerShellwinget search--idMicrosoft.PowerShell--exact安装 PowerShell 7 MSIX 包wingetinstall--idMicrosoft.PowerShell--sourcewinget2.使用验证是否安装成功打开 PowerShell 7 的核心是执行 ‌pwsh‌ 命令区别于旧版 powershell再修改个性化的自定义指令0.已经安装了powershell7运行命令是pwsh以后不要再使用powershell而是使用pwsh