首页 > 系统服务 > 详细

如何查看PowerShell版本

时间:2016-09-06 22:41:52      阅读:269      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!