Name FriendlyName ApplicableOS ---------------------------- 5.1.14393.0 Windows PowerShell 5.1 Preview Windows 10 Anniversar... 5.1.14300.1000 Windows PowerShell 5.1 Preview Windows Server 2016 T... 5.0.10586.494 Windows PowerShell 5 RTM Windows 101511 + KB3... 5.0.10586.122 Windows PowerShell 5 RTM Windows 101511 + KB3... 5.0.10586.117 Windows PowerShell 5 RTM 1602 Windows Server 2012R... 5.0.10586.63 Windows PowerShell 5 RTM Windows 101511 + KB3... 5.0.10586.51 Windows PowerShell 5 RTM 1512 Windows Server 2012R... 5.0.10514.6 Windows PowerShell 5 Production Preview 1508 Windows Server 2012 R2 5.0.10018.0 Windows PowerShell 5 Preview 1502 Windows Server 2012 R2 5.0.9883.0 Windows PowerShell 5 Preview November 2014 Windows Server 2012R... 4.0 Windows PowerShell 4 RTM Windows Server 2012R... 3.0 Windows PowerShell 3 RTM Windows Server 2012, ... 2.0 Windows PowerShell 2 RTM Windows Server 2008R... 1.0 Windows PowerShell 1 RTM Windows Server 2008, ...
这是在您的企业中以友好的 PowerShell 版本名称获得 PowerShell 版本号的方法:
1 2 3 4 5
PS C:\> Get-PSVersion
PSComputerName PSVersion PSVersionFriendlyName -------------------------------------------- CLIENT12 5.1.14393.0 Windows PowerShell 5.1 Preview