难道没有Windows7用的PowerShell嘛?

2011年2月12日作者:enet查看原文

以前的系统是2003, 最近换成了win7. 记得以前有微软个叫 PowerShell的东西, 在CMD下支持WMI, 可以通过编写脚本,函数,模块来很好的操作管理系统.

今天特意去下载, 页面上提示 系统提示注意:

本篇文章的内容适用于其他版本的 Windows (不包括您正在使用的版本) 。本篇文章的内容可能不适用您的电脑。

浏览 Windows 7 帮助和支持中心http://support.microsoft.com/kb/968929

难道没有Windows7用的PowerShell嘛?

然后在 http://code.msdn.microsoft.com/PowerShellPack 看到:

 (if you are running Windows 7 or Windows Server 2008 R2, you are running PowerShell V2)

这么说应该是Windows7已经内置包含了PowerShell, 而且是 v2的.

再看, 原来PowerShell 2.0是包含在 Framework 2.0中的, Windows7自带它:

Windows PowerShell 2.0 appears as an option in a Windows Update scan only if the computer meets the following conditions.

接着我们在CMD下直接输入”powershell” , 回车

很明显已经执行进入了PS shell.

更多的PowerShell的信息

Windows PowerShell 有哪些新增功能?

Windows 7 中 Windows PowerShell 的新增功…

Windows PowerShell 的新增功能

更新时间: 2009年1月

应用到: Windows 7

Windows® 7 中包含 Windows PowerShell 2.0。 它还包含可以添加到 Windows PowerShell 的其他 cmdlet、提供程序和工具,以便您可以使用和管理其他 Windows 技术,如 Active Directory(R) 域服务、Windows® BitLocker™ 驱动器加密、DHCP 服务器服务、组策略、远程桌面服务和 Windows Server Backup。

http://technet.microsoft.com/zh-cn/library/dd367858(WS.10).aspx

推荐下载使用PowerGUI, Windows下很好用的一个PS IDE工具.

http://www.powergui.org
My PowerShell community is PowerGUI.org

http://www.powergui.org/downloads.jspa