1、在安装前先卸载旧版本的Powershell,简单copy微软官方说明:

  1. In the Windows Control Panel, click Uninstall a Program.
  2. In Programs and Features, click View installed updates.
  3. In the Uninstall an update pane, in the Microsoft Windows section, locate the update titled Microsoft Windows Management Framework 3.0 Beta (KB2506143).
  4. Right-click Microsoft Windows Management Framework 3.0 Beta (KB2506143) and then click Uninstall.
  5. In the Uninstall an update dialog box, click Yes.

   卸载完成后记得重启计算机

 

2、从http://www.microsoft.com/en-us/download/details.aspx?id=29939下载PowerShell 3,可选的安装文件有下面几个:

   根据你的操作系统是32位还是64位选择一个,比如我的64位系统我选的是第一个。

 

3、下载完成后双击运行,等待安装完成,然后重启即可:

 

4、重启完成后

    所有程序->附件->Windows PowerShell 或者 直接开始->搜索PowerShell

    启动后输入如下命令,显示正常即说明安装成功

 

5、资源推荐

    Microsoft Tech上关于PowerShell的教程

    http://technet.microsoft.com/zh-CN/scriptcenter/dd772285.aspx

    《Windows Powershell For Developers》

    《Microsoft Windows PowerShell 3.0 First Look》

 

参考自:http://technet.microsoft.com/zh-cn/library/jj205328(v=ocs.15)

posted on 2012-11-20 15:27  feichexia  阅读(5240)  评论(0编辑  收藏  举报