查看“PowerShell”的源代码
←
PowerShell
跳转到导航
跳转到搜索
因为以下原因,你没有权限 编辑此页:
你请求的操作仅限属于此用户组的用户执行:
用户
你可以查看和复制此页面的源代码。
{{Infobox software |name = PowerShell |logo = PowerShell icon.png |image = PowerShell7-Win11.png |imagecaption = 运行在 [[Windows 11]] 上的 PowerShell 7.4.6 |type = 命令行终端(Command Line Shell,CLS) |developers = Microsoft |os = [[Windows]]、<br>[[macOS]](自 6.0 起)、<br>[[Linux]](自 6.0 起) |arch = x86、x64、ARM32、ARM64 |ir-version = v1.0 |ir-date = 2006-4-25 |lr-version = v7.4.6 |lr-date = 2024-10-22 |pre-version = v7.5.0-rc.1 |pre-date = 2024-11-14 |license = 专有(至 5.1)、<br>MIT(自 6.0 起) |link = [https://learn.microsoft.com/en-us/powershell 官方产品文档]、<br>[https://github.com/PowerShell/PowerShell GitHub] }} PowerShell(<code>pwsh.exe</code>,原名 <code>powershell.exe</code>)是一款开源命令行解释程序,最早随 [[Windows 7]] 一起引入,旨在用于自动化任务和配置系统功能。它克隆了早期解释器 <code>cmd.exe</code> 的大部分语法,但通过使用专用脚本语言进行了扩展。PowerShell 中的命令被称为“cmdlet”(命令小程序),其名称由动词和名词组成,并以连字符连接,例如 <code>Get-Command</code>。 虽然版本 1.0 到 5.1 是闭源的,但从版本 6.0 起是开源的,其代码使用了高度宽松的 MIT 许可证。从版本 7.2 开始,PowerShell 在 Windows 上使用 [[Windows 更新]]来更新自身。此功能是可选的,可以禁用。 == 图库 == === 基于 .NET Framework(1.0 – 5.1) === <gallery> PowerShell Beta1 Console.png|[[Windows XP Professional x64 Edition]] 中的 Windows PowerShell 1.0 Beta 1 PowerShell 10 Console.png|Windows XP Professional x64 Edition 中的 Windows PowerShell 1.0 Windows7-6.1.7600.16385-PowerShell.png|[[Windows 7]] 中的 Windows PowerShell 2.0 WindowsServer2012-6.2.7963.winmain.110310-1721-Powershell.png|[[Windows Server 2012 Build 7963.0.winmain.110310-1721|Windows Server 2012 Build 7963]] 中的 Windows PowerShell PowerShell 3.0 on Windows 7.png|Windows 7 中的 Windows PowerShell 3.0 9431-PowerShell.png|[[Windows 8.1 Build 9431.0.winmain_bluemp.130615-1214|Windows 8.1 Build 9431]] 中的 Windows PowerShell PS4-Windows8.1.png|[[Windows 8.1]] RTM 中的 Windows PowerShell 4.0 </gallery> === 基于 .NET(6.0 – 今) === <gallery> PowerShell Core 6.0 on Windows 7.png|运行在 Windows 7 上的 PowerShell Core 6.0 PowerShell 7.0 on Windows 7.png|运行在 Windows 7 上的 PowerShell 7.0 </gallery> == 外部链接 == *[https://github.com/PowerShell/PowerShell 官方存储库] [[分类:在 Windows 7 中推出]][[分类:Windows 组件]][[分类:组件与应用]]
此页使用的模板:
模板:Infobox
(
查看源代码
)
模板:Infobox/data
(
查看源代码
)
模板:Infobox/image
(
查看源代码
)
模板:Infobox/styles.css
(
查看源代码
)
模板:Infobox software
(
查看源代码
)
模块:字符串处理
(
查看源代码
)
返回
PowerShell
。
导航菜单
个人工具
登录
命名空间
页面
讨论
大陆简体
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
批量上传文件
WinStory 门户
深色模式
工具
链入页面
相关更改
特殊页面
页面信息
获取短URL