个性化阅读
专注于IT技术分析

Windows PowerShell的历史

到2002年, Microsoft开始开发一种管理命令行的新方法。它还包括开发名为Monad的新Shell。 2002年发布的白皮书叫做Monad Manifesto。它包含此shell的概念以及创建标准化平台的想法, 该标准化平台通过自动化任务使用.NET框架。

Monad的首次展示是在2003年美国专业开发人员大会上在洛杉矶进行的。Microsoft在2005年6月17日, 2005年9月11日和2006年1月10日发布了Monad的三个beta版本。Microsoft将Monad重命名为Windows PowerShell在同年4月发布, 并使其成为Windows操作系统的核心部分。

Windows PowerShell的版本

PowerShell 1.0:

2006年11月, Microsoft针对Windows Vista, Windows XP SP2和Windows Server 2003 SP1发布了PowerShell版本1.0。此版本是Windows Server 2008的可选组件。

PowerShell 2.0:

PowerShell版本2.0与Windows Server 2008 R2和Windows 7集成在一起。它是针对Windows Vista Service Pack 1, Windows Server 2003 Service Pack 2和Windows XP Service Pack 3发行的。

此版本包括对托管API和脚本语言的更改。

以下是PowerShell 2.0的新功能:

  • PowerShell远程处理
  • 后台工作
  • 可步进管道。
  • 脚本调试
  • Windows PowerShell ISE(集成脚本环境)
  • 网络文件传输

PowerShell 3.0:

PowerShell版本3.0与Windows Server 2012和Windows 8集成在一起。

Microsoft还使其适用于带Service Pack 1的Windows Server 2008, 带Service Pack 1的Windows 7和带Service Pack1的Windows Server 2008 R2。

此版本是(WMF3)Windows Management Framework程序包的内部部分, 该程序包包含支持远程处理的WinRM服务。

以下是PowerShell 3.0的新功能:

  • 预定的工作
  • 会话连接
  • 代表团支持
  • 自动模块检测
  • 改进的代码编写
  • 帮助更新
  • 新命令

PowerShell 4.0:

PowerShell版本4.0与Windows Server 2012 R2和Windows 8.1集成在一起。

Microsoft还使其可用于Windows Server 2008 R2 SP1, Windows 7 SP1和Windows Server 2012。

以下是PowerShell 4.0的新功能:

  • 所需状态配置(DSC)
  • 新的默认执行策略
  • 保存帮助
  • 增强调试
  • 网络诊断

PowerShell 5.0:

此版本已作为Windows管理框架(WMF 5.0)的内部部分于2016年2月24日发布到Web上。

默认情况下, 此版本安装在Windows 10和Windows Server 2012上。

以下是PowerShell 5.0的新功能:

  • PowerShell .NET枚举
  • DSC部分配置
  • 调试PowerShell后台作业
  • 在远程进程中调试PowerShell Runspace
  • PowerShell类定义(属性, 方法)

PowerShell 5.1:

PowerShell 5.1与Windows 10 Anniversary更新一起于2016年8月2日发布。该版本最终于2017年1月19日发布。Microsoft已使其可用于Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows 7, Windows Server 2012和Windows Server 2012 R2。

这是” Core”和” Desktop”两个版本中的第一个版本。


赞(0)
未经允许不得转载:srcmini » Windows PowerShell的历史

评论 抢沙发

评论前必须登录!