惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
D
DataBreaches.Net
C
Check Point Blog
I
InfoQ
A
About on SuperTechFans
Engineering at Meta
Engineering at Meta
月光博客
月光博客
Recent Announcements
Recent Announcements
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tailwind CSS Blog
Y
Y Combinator Blog
博客园 - Franky
博客园_首页
罗磊的独立博客
量子位
美团技术团队
T
The Blog of Author Tim Ferriss
Last Week in AI
Last Week in AI
大猫的无限游戏
大猫的无限游戏
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Martin Fowler
Martin Fowler
博客园 - 叶小钗
aimingoo的专栏
aimingoo的专栏

博客园 - simadi

PostgreSQL安装设置 Avalonia程序部署在统信系统,内存一直增大 vue项目 重装依赖包 cursor 更改项目typescript版本 nodejs项目,新建表步骤 Zig 语言 使用NVM安装node 我的iis10里有很多网站,现在要迁移到另一个服务器,怎么做最简单方便 Browser Harness MQTT测试工具 从华为手机导出照片到Win11 emoji大全 Sqlite“无法加载 DLL“e_sqlite3”: 找不到指定的模块”解决方法 c# 请求https网站失败 Edge安装EPUB阅读器 curl,wget,HTTPie Winget Windows 包管理器 Windows11 升级到25H2 ai+.net postgresql System.Text.Json windows 精简版 Windows X-Lite Visual Studio 2026 新建Avalonia项目选这个,第一个会新建两个项目 隆重推出免费工具FdyRegulator1.0 Visual Studio 2026 新建axaml编码是gbk 中文运行乱码 ffmpeg 下载地址 elasticsearch + .net 开发使用的第三方库 Avalonia 开源项目,学习用 吉他自学笔记
PowerShell
simadi · 2026-02-25 · via 博客园 - simadi

PowerShell 是一种跨平台的任务自动化解决方案,由命令行 shell、脚本语言和配置管理框架组成。 PowerShell 在 Windows、Linux 和 macOS 上运行。

Windows PowerShell 和 PowerShell 是两个独立的产品。

Windows PowerShell 是 Windows 中随附的 PowerShell 版本。 此版本的 PowerShell 使用仅在 Windows 上运行的完整 .NET Framework。 最新版本为 Windows PowerShell 5.1。 Microsoft 不再为 Windows PowerShell 的更新提供新功能。 对 Windows PowerShell 的支持与你正在使用的 Windows 版本相关联。

PowerShell 基于新版本的 .NET 而不是 .NET Framework 生成,在 Windows、Linux 和 macOS 上运行。 对 PowerShell 的支持取决于它所基于的 .NET 版本。 有关 PowerShell 的支持生命周期的详细信息,请参阅 PowerShell 支持生命周期文档。

微软教程   https://learn.microsoft.com/zh-cn/powershell/

搜索查看最新版本

winget search --id Microsoft.PowerShell

结果

Name Id Version Source
---------------------------------------------------------------
PowerShell Microsoft.PowerShell 7.5.4.0 winget
PowerShell Preview Microsoft.PowerShell.Preview 7.6.0.6 winget

安装 

winget install --id Microsoft.PowerShell --source winget

# 1. 检查可用更新

winget list --name PowerShell

# 2. 升级 PowerShell
winget upgrade --id Microsoft.PowerShell

# 3. 或指定版本(如 7.6.0)
winget install --id Microsoft.PowerShell --version 7.6.0

# 4. 升级预览版
winget upgrade --id Microsoft.PowerShell.Preview