powershell 版本_如何确定已安装的Powershell版本?

powershell 版本

powershell 版本

Powershell provides different features according to its version. Here knowing the version of the PowerShell become a necessity. There are different methods to get version of Powershell from easy to hard.

Powershell根据其版本提供不同的功能。 在这里,了解PowerShell的版本成为必需。 有多种方法可以使Powershell的版本变得容易。

PowerShell版本 (PowerShell Versions)

Also PowerShell is updated with the Windows Update but following lines provides information about the PowerShell versions and related Windows or Operating System version.

PowerShell也随Windows Update更新,但以下几行提供了有关PowerShell版本以及相关的Windows或操作系统版本的信息。

  • Version 1.0: shipped 2006 as optional download. Obsolete.

    版本1.0:2006年作为可选下载发布。 过时的
  • Version 2.0: shipped 2009 as part of Windows 7/Server 2008. The only version that still supports Windows XP and Server 2003.

    版本2.0:2009年作为Windows 7 / Server 2008的一部分提供。唯一仍支持Windows XP和Server 2003的版本。
  • Version 3.0: shipped 2012 as part of Windows 8/Server 2012. Completed the core language features and started to ship the ISE Editor.

    版本3.0:2012年作为Windows 8 / Server 2012的一部分发布。完成了核心语言功能,并开始发布ISE编辑器。
  • Version 4.0: shipped 2013 as part of Windows 8.1/Server 2012R2. Added DSC (Desired State Configuration)

    版本4.0:2013年作为Windows 8.1 / Server 2012R2的一部分提供。 添加了DSC(所需状态配置)
  • Version 5.0: shipped 2015 as part of Windows 10. This version is a major milestone with various new features and language extensions.

    版本5.0:作为Windows 10的一部分发布于2015年。此版本是一个重要的里程碑,具有各种新功能和语言扩展。
  • Version 5.1: shipped 2016 as part of Windows 10 Anniversary Update and Server 2016.

    版本5.1:2016年作为Windows 10周年更新和Server 2016的一部分发布。

使用PSVersionTable环境变量 (Using PSVersionTable Environment Variable)

Simplest and reliable solution is using environment variable. PSVersionTable variable provides PSVersion key for the

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值