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

推荐订阅源

J
Java Code Geeks
量子位
MongoDB | Blog
MongoDB | Blog
N
Netflix TechBlog - Medium
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog
A
About on SuperTechFans
腾讯CDC
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG
雷峰网
雷峰网
Last Week in AI
Last Week in AI
H
Help Net Security
WordPress大学
WordPress大学
博客园 - 司徒正美
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Tailwind CSS Blog
博客园 - 【当耐特】
S
SegmentFault 最新的问题
美团技术团队
M
MIT News - Artificial intelligence
L
LangChain Blog
博客园 - 聂微东

博客园 - 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