码迷,mamicode.com
首页 > 系统相关 > 详细

如何查看PowerShell版本

时间:2016-09-06 22:43:09      阅读:216      评论:0      收藏:0      [点我收藏+]

标签:

  1. Click Start, click All Programs, click Accessories, click Windows PowerShell, and then click Windows PowerShell.
  2. In the Windows PowerShell console, type the following command at the command prompt and then press ENTER:

     $PSVersionTable.PSVersion

Major Minor Build Revision
----- ----- ----- --------
2 0 -1 -1

 

 

 

PS C:\Users\Administrator> Get-Host


Name : ConsoleHost
Version : 2.0
InstanceId : 46ec5108-c784-4098-856e-eb1345f2eb86
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : zh-CN
CurrentUICulture : zh-CN
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace

如何查看PowerShell版本

标签:

原文地址:http://www.cnblogs.com/chucklu/p/5847330.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!