Demon521

Troubleshooting. Good luck to me 2009! 人生中没有Ctrl+Z!
  博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理

什么是PowerShell?

Posted on 2009-01-07 17:32  Demon521  阅读(3476)  评论(2)    收藏  举报

什么是PowerShell

 

今天在 Microsoft Exchange Server 2007 中用到了很多Power Shell的内容。何为 Power Shell 呢?

引用:

Windows PowerShell 是一种新的交互式的命令行和基于任务脚本编写技术,它使信息技术 (IT) 管理员能够全面地自动操作和控制系统管理任务,从而提高了管理员的生产力。Windows PowerShell 包括多个系统管理实用工具、一致的语法和命名惯例、及对普通管理数据更好地导航,如登记、证书存储 Windows Management Instrumentation (WMI)Windows PowerShell 还专门针对 IT 管理,提供直观的脚本编写语言。

 

Power Shell 是基于.net的新一代命令行(不是脚本语言),应该算是MSH或者Monad的进化版。WSHWindows Script HostWindows脚本宿主,PowerShell不能算是脚本。Power Shell是微软为Windows环境所开发的shell及脚本语言技术的支持,而脚本语言则是用来编写程序的计算机语言。

目前支持Power Shell的操作系统为:Windows XP SP2Windows Server 2003 SP1Windows Server 2003 R2Windows Vista 和代码名为“Longhorn” Windows Server 均支持 Windows PowerShell。同时,也需要 .Net Framework 2.0