微软宣布全新命令行+脚本工具:PowerShell 7统一兼容性

新闻 Windows
最近,微软发布了PowerShell Core 6.2,现在又宣布了全新的下一代PowerShell 7。

 DOS逐渐退出历史舞台后,Windows一直内置着CMD命令行工具,并在Windows 7时代升级为更强悍的PowerShell,不仅可以执行命令行,更可以执行各种高级脚本,还能跨平台。

最近,微软发布了PowerShell Core 6.2,现在又宣布了全新的下一代PowerShell 7。

微软表示,PowerShell的用户量直线飙升,但大多都来自Linux,Windows平台上反而没什么成长,这很可能是PowerShell 5.1与新版PowerShell Core的不兼容性,导致很多用户无法升级。

为此,PowerShell 7将同时取代旧版的PowerShell 5.1、PowerShell Core 6.x,并且完全跨平台,Windows、Linux、macOS上用起来都是一样的,拥有极高的兼容性。

不过尽管名称变化很大,PowerShell 7并不会做太大幅度的改变,更多地是为了确保非Windows平台上的兼容性。

PowerShell 7会基于.NET Core 3.0,估计能兼容90%以上的Windows PowerShell模块。

另外,PowerShell 7在支持周期方面将提供LTS(长期服务)、non-LTS(非长期服务)两种版本。

PowerShell 7的***预览版预计5月份放出,正式发布则要等到.NET Core 3.0发布之后,最终会集成在Windows系统内,并与PowerShell 5.1共存。

[[261791]]

 

责任编辑:张燕妮 来源: 快科技
相关推荐

2009-03-07 09:49:07

Windows 7兼容性

2013-02-18 08:34:45

powershell

2009-03-06 08:54:25

EngineeringWindows 7兼容性

2010-08-10 09:59:28

Office 2010兼容性OMPM

2010-06-23 20:21:42

微软Windows 7补丁

2009-03-13 08:55:10

Windows 7兼容性

2009-06-17 08:36:38

Windows 7微软操作系统

2009-05-13 08:52:31

微软Windows 7操作系统

2009-09-24 08:42:17

Windows 7兼容性

2010-02-26 08:53:03

Windows 7兼容性更新

2009-06-16 08:39:42

微软Windows 7操作系统

2010-08-26 13:37:21

Windows 7补丁

2009-09-01 17:58:21

Windows7微软兼容性

2009-08-07 08:42:28

Windows 7兼容性检查

2009-03-27 09:22:13

微软Windows 7操作系统

2009-06-22 08:42:54

Windows 7微软操作系统

2023-05-12 07:08:09

PowerShellWindows操作系统

2011-09-07 15:34:48

IE兼容性补丁微软

2009-02-19 13:59:00

2009-12-09 09:11:53

Windows 7游戏兼容性
点赞
收藏

51CTO技术栈公众号