文章编号: 968929 - 最后修改: 2012年2月3日 - 修订: 0.1

Windows 管理框架 (Windows PowerShell 2.0、 WinRM 2.0 和 4.0 位)

系统提示此文章适用于与您所使用的操作系统不同的操作系统。文章内容可能与您无关,并且已被禁用。
支持在 2011 年 7 月 12 日的 Windows Vista Service Pack 1 (SP1) 结束。要继续接收安全更新的 Windows,请确保您正在运行 Windows Vista Service Pack 2 (SP2)。有关详细信息,请参阅此 Microsoft web 页: 某些版本的 Windows 结束支持 (http://windows.microsoft.com/en-us/windows/help/end-support-windows-xp-sp2-windows-vista-without-service-packs) .

本页

展开全部 | 关闭全部

简介

本文介绍在 Windows XP、 Windows Server 2003、 Windows Vista 和 Windows Server 2008 的 Windows 管理框架。Windows 管理框架包含下列内容:
  • Windows 远程管理 (WinRM) 2.0
  • Windows PowerShell 2.0
  • 后台智能传输服务 (BITS) 4.0

更多信息

在 Windows 7 中,并在 Windows Server 2008 R2 可供安装 Windows XP、 Windows Server 2003、 Windows Vista 和 Windows Server 2008 中,Windows 管理框架使某些更新的管理功能。Windows 管理框架包含 Windows 远程管理 (WinRM) 2.0、 Windows PowerShell 2.0 和后台智能传输服务 (BITS) 4.0。

WinRM 2.0

WinRM 是 WS 管理协议,基于标准的简单对象访问协议 (SOAP) 的、 防火墙友好协议进行互操作允许来自不同供应商的硬件和操作系统的 Microsoft 实现。WS 管理协议规范跨 IT 基础架构提供系统访问和交换管理信息的常用方法。

WinRM 2.0 包括下列新增功能:
  • WinRM 客户端外壳程序 API 提供了可以创建和管理命令行程序和外壳程序操作、 命令和数据流在远程计算机上的功能。
  • WinRM 插件 API 提供的功能,用户可以通过实现某些受支持的资源和操作的 Api 编写插件。
  • WinRM 2.0 引入了一个宿主框架。支持两种宿主模型。一个基于 Internet Information Services IIS,另一种是 WinRM 基于服务的。
  • 关联遍历允许用户使用标准的过滤机制来检索关联类的实例。
  • WinRM 2.0 支持在多个远程计算机的代理用户凭据。
  • WinRM 2.0 用户可以使用 Windows PowerShell cmdlet 的系统管理。
  • WinRM 添加了一组特定的提供更好的服务质量并分配服务器资源并发用户的配额。WinRM 配额设置为 IIS 服务实施的配额基础结构为基础。
关于 WinRM 2.0 的更多信息,请访问以下 Microsoft 网站:

有关 Windows 远程管理
http://msdn.microsoft.com/en-us/library/aa384291 (VS.85).aspx (http://msdn.microsoft.com/en-us/library/aa384291(VS.85).aspx)
什么是 WinRM 2.0 中的新增功能
http://msdn.microsoft.com/en-us/library/ee309369 (VS.85).aspx (http://msdn.microsoft.com/en-us/library/ee309369(VS.85).aspx)
Windows 管理基础结构网络日志
http://blogs.msdn.com/wmi (http://blogs.msdn.com/wmi)

Windows PowerShell 2.0

Windows PowerShell 是一个命令行解释器和用于系统管理和自动化的脚本语言。基于 Microsoft。NET 框架,Windows PowerShell 使 IT 专业人员和开发人员能够控制和自动化的 Windows 和应用程序管理。

Windows PowerShell 2.0 中引入的新功能包括:
  • 远程处理

    Windows PowerShell 2.0 中,可以从一台计算机运行 Windows PowerShell 的一个或多个远程计算机上运行命令。PowerShell 远程处理允许连接的多个方法。这些方法包括交互式 (1: 1),条目数 (1 对多)、 和扇入 (多: 1 通过 IIS 宿主模型)。
  • 集成的脚本编写环境

    PowerShell 集成脚本编写环境 (ISE) 使您能够运行交互式命令和编辑和调试图形环境中的脚本。主要功能包括颜色编码的语法、 选择性执行、 图形化调试、 Unicode 支持和上下文相关帮助。
  • 模块

    模块允许脚本开发人员和管理员进行分区和组织 Windows PowerShell 代码中独立的、 可重复使用的单位。从模块的代码在它自己独立的上下文中执行,而不影响模块以外的状态。
  • 高级的功能

    高级的功能是具有相同的功能和行为的 cmdlet 的函数。但是,它们是完全用编写 Windows PowerShell 语言,而不是已编译的 C#。
  • 后台作业

    Windows PowerShell 2.0 允许运行一个命令或表达式,以异步方式和"背景"中没有与控制台进行交互。
  • 事件

    此功能添加到 Windows PowerShell 引擎侦听、 发送和作用于管理和系统事件的基础架构的支持。
  • 脚本国际化

    这一新功能使 Windows PowerShell 脚本中指定的用户的计算机上的用户界面区域性设置的口述语言显示的消息。
  • 脚本调试

    新的调试功能添加到 Windows PowerShell,使您可以设置断点的行、 列、 变量和命令,并使您可以指定命中断点时发生的操作。
  • 新的 cmdlet

    Windows PowerShell 2.0 引入了 100 多个内置的 cmdlet。这些 cmdlet,但不包括其他任务,使您能够执行与计算机相关、 事件日志和性能计数器管理任务。
Windows PowerShell 2.0 的更多信息,请访问以下 Microsoft 网站:

Windows PowerShell Web 站点
http://www.microsoft.com/powershell (http://www.microsoft.com/powershell)
Windows PowerShell 的联机帮助
http://technet.microsoft.com/en-us/library/bb978526.aspx (http://technet.microsoft.com/en-us/library/bb978526.aspx)
Windows PowerShell 的博客
http://blogs.msdn.com/powershell (http://blogs.msdn.com/powershell)
Windows PowerShell 新闻组
http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.powershell (http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.powershell)
Windows PowerShell 软件开发工具包 (SDK)
http://msdn2.microsoft.com/en-us/library/aa830112.aspx (http://msdn2.microsoft.com/en-us/library/aa830112.aspx)

位 4.0

BITS 是一种服务,客户端和服务器之间传输文件。BITS 提供了一种礼貌并且可靠地通过 HTTP 或 HTTPS 传输文件的简单方法。支持文件上载和下载文件。默认情况下位传输在后台,与其他协议传输在前台文件不同的文件。后台传输使用仅空闲的网络带宽,以保证用户的交互与其他网络应用程序,如 Internet Explorer。前景色或典型的传输,还支持。

位 4.0 包括下列新增功能:
  • 缓存现在对等方使用 Windows 分支缓存。此新的对等机器缓存模型替换用于位 3.0 的模型。
  • 要将一对安全令牌位传输作业相关联的应用程序,允许更灵活的资源访问模型。
  • BITS Compact 服务器是独立 HTTP/HTTPS 文件服务器,您可以在计算机之间的异步传输较大的文件数量有限。
  • 更精确的带宽限制。
位 4.0 有关的详细信息,请访问以下 Microsoft 网站:

有关位
http://msdn.microsoft.com/en-us/library/aa362708 (VS.85).aspx (http://msdn.microsoft.com/en-us/library/aa362708(VS.85).aspx)
什么是位中的新增功能
http://msdn.microsoft.com/en-us/library/aa363167 (VS.85).aspx (http://msdn.microsoft.com/en-us/library/aa363167(VS.85).aspx)
Windows 管理基础结构网络日志
http://blogs.msdn.com/wmi (http://blogs.msdn.com/wmi)

系统要求

WinRM 2.0 和 PowerShell 2.0

可以在以下受支持的操作系统上安装 WinRM 2.0 和 PowerShell 2.0:
  • Windows Server 2008 的 Service Pack 1
  • Windows Server 2008 的 Service Pack 2
  • Windows Server 2003 与 Service Pack 2
  • Windows Vista 的 Service Pack 2
  • Windows Vista 的 Service Pack 1
  • Windows XP Service Pack 3
  • Windows 嵌入式 POSReady 2009
  • Windows 服务点 1.1 嵌入
Windows PowerShell 2.0 要求 2.0 版的公共语言运行库 (CLR)。必须编译生成的 Windows PowerShell 2.0 的 Cmdlet CLR 2.0。包括与 Microsoft CLR 2.0。NET framework 2.0、 3.0 或 3.5 与 Service Pack 1 中。

位 4.0

可以在以下受支持的操作系统上安装位 4.0:
  • Windows Server 2008 的 Service Pack 1
  • Windows Server 2008 的 Service Pack 2
  • Windows Vista 的 Service Pack 2
  • Windows Vista 的 Service Pack 1

重新启动要求

将要求您在安装 Windows 管理框架后,重新启动计算机。

语言

WinRM 2.0、 Windows PowerShell 2.0 和位 4.0 完全本地化以下语言:
  • 中文 (简体)
  • 中文 (繁体)
  • 英语
  • 法语
  • 德语
  • 意大利
  • 日语
  • 朝鲜语
  • 葡萄牙语 (巴西)
  • 俄罗斯
  • 西班牙语
WinRM 2.0 和位 4.0 完全本地化以下语言,除了上述的语言:
  • 中文 (传统香港)
  • 捷克语
  • 丹麦语
  • 荷兰语
  • 芬兰语
  • 希腊语
  • 匈牙利语
  • 挪威语
  • 波兰语
  • 葡萄牙语
  • 瑞典语
  • 土耳其语

删除信息

Windows 管理框架核心

  • 在 Windows Vista 和 Windows Server 2008 中,单击 启动单击 控制面板单击 程序和功能 然后单击 查看已安装的更新.单击在标题中,包含 KB968930 的更新,然后单击 卸载.
  • 在 Windows XP 和 Windows Server 2003 中,单击 启动单击 控制面板单击 添加或删除程序 然后单击以选中 显示更新 复选框。单击更新的标题为 Windows 管理框架核心 然后单击卸载.

Windows 管理框架位

  • 在 Windows Vista 和 Windows Server 2008 中,单击 启动单击 控制面板单击 程序和功能 然后单击 查看已安装的更新.单击在标题中,包含 KB960568 的更新,然后单击 卸载.

下载信息

要下载 Windows 管理框架,请选择您要下载的特定组件的安装软件包。

下面是一些可从 Microsoft 下载下载中心:

Windows 管理框架核心 (WinRM 2.0 和 Windows PowerShell 2.0)



收起这个图片展开这个图片
下载
立即下载 Windows 管理框架核心的 Windows Server 2008 程序包。 (http://www.microsoft.com/downloads/details.aspx?FamilyId=863e7d01-fb1b-4d3e-b07d-766a0a2def0b)

收起这个图片展开这个图片
下载
立即下载 Windows 管理框架核心的 Windows Server 2008 x 64 版程序包。 (http://www.microsoft.com/downloads/details.aspx?FamilyId=d37e25cf-db05-4b23-a852-cdf865d81b82)

收起这个图片展开这个图片
下载
立即下载 Windows 管理框架核心 Windows Server 2003 程序包。 (http://www.microsoft.com/downloads/details.aspx?FamilyId=f002462b-c8f2-417a-92a3-287f5f81407e)

收起这个图片展开这个图片
下载
立即下载 Windows 管理框架核心 Windows Server 2003 x 64 版程序包。 (http://www.microsoft.com/downloads/details.aspx?FamilyId=909bbcf1-bd78-4e03-8c83-69434717e551)

收起这个图片展开这个图片
下载
立即下载 Windows 管理框架核心的 Windows Vista 程序包。 (http://www.microsoft.com/downloads/details.aspx?FamilyId=f2fa1227-9a34-4e29-aa03-62f5c00e16f2)

收起这个图片展开这个图片
下载
立即下载 Windows 管理框架核心的 Windows Vista x 基于 x64 的系统的软件包。 (http://www.microsoft.com/downloads/details.aspx?FamilyId=0f73efa2-f8d6-45f3-a8f8-5cdc205b119a)

收起这个图片展开这个图片
下载
立即下载 Windows 管理框架核心的 Windows XP 和 Windows Embedded 程序包。 (http://www.microsoft.com/downloads/details.aspx?FamilyId=60cb5b6c-6532-45e0-ab0f-a94ae9ababf5)

Windows 管理框架位 (位 4.0)

收起这个图片展开这个图片
下载
立即下载 Windows 管理框架位的 Windows Server 2008 程序包。 (http://www.microsoft.com/downloads/details.aspx?FamilyId=e77925a9-58a2-428b-bb4f-714d49d0b889)

收起这个图片展开这个图片
下载
立即下载 Windows 管理框架位的 Windows Server 2008 x 64 版程序包。 (http://www.microsoft.com/downloads/details.aspx?FamilyId=e749f4cd-74db-404a-bc30-765137cd3804)

收起这个图片展开这个图片
下载
立即下载 Windows 管理框架位 Windows Vista 程序包。 (http://www.microsoft.com/downloads/details.aspx?FamilyId=d7ae9660-bb13-4f0c-816b-85de3980ec1b)

收起这个图片展开这个图片
下载
立即下载 Windows 管理框架位 Windows Vista x 基于 x64 的系统的软件包。 (http://www.microsoft.com/downloads/details.aspx?FamilyId=173c8a2d-b264-49ca-8d35-b6f234cbdaeb)

Windows 管理框架发行说明

收起这个图片展开这个图片
下载
立即下载 Windows 管理框架发布笔记的包。 (http://www.microsoft.com/downloads/details.aspx?FamilyID=4a4f0a78-a8e0-434a-b3f4-736ed67637c1)

有关如何下载 Microsoft 支持文件的详细信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:
119591? (http://support.microsoft.com/kb/119591/ ) 如何从在线服务获得 Microsoft 的支持文件
Microsoft 扫描此文件中的病毒。Microsoft 使用投递该文件的日期上可用的最新病毒检测软件。该文件存储在安全性得到增强的服务器,以帮助防止对文件进行任何未经授权的更改。

已安装的文件

Windows 管理框架核心

Windows 管理框架核心 (WinRM 2.0 和 Windows PowerShell 2.0) 程序包将安装以下文件:
收起该表格展开该表格
Assembly\System.Management.Automation
Assembly\Microsoft.powershell.Commands.Management
Assembly\Microsoft.powershell.Commands.Utility
Assembly\Microsoft.powershell.consolehost
Assembly\Microsoft.powershell.Security
Assembly\Microsoft.wsman.Runtime
Assembly\Microsoft.wsman.Management
Assembly\Microsoft.powershell.Editor
Assembly\Microsoft.powershell.gpowershell
Assembly\Microsoft.powershell.graphicalhost
Assembly\Microsoft.powershell.Commands.Diagnostics
Assembly\Microsoft.backgroundintelligenttransfer.Management
Assembly\System.Management.Automation.Resources
Assembly\Microsoft.powershell.Commands.Management.Resources
Assembly\Microsoft.powershell.Commands.Utility.Resources
Assembly\Microsoft.powershell.consolehost.Resources
Assembly\Microsoft.powershell.Security.Resources
Assembly\Microsoft.wsman.Management.Resources
Assembly\Microsoft.powershell.Editor.Resources
Assembly\Microsoft.powershell.gpowershell.Resources
Assembly\Microsoft.powershell.graphicalhost.Resources
Assembly\Microsoft.powershell.Commands.Diagnostics.Resources
Assembly\Microsoft.backgroundintelligenttransfer.Management.Resources
System32\Pwrshplugin.dll
System32\Windowspowershell\v1.0\Certificate.format.ps1xml
System32\Windowspowershell\v1.0\compiledcomposition。Microsoft.powershell.gpowershell.dll
System32\Windowspowershell\v1.0\Diagnostics.Format.ps1xml
System32\Windowspowershell\v1.0\dotnettypes.format.ps1xml
System32\Windowspowershell\v1.0\filesystem.format.ps1xml
System32\Windowspowershell\v1.0\getevent.types.ps1xml
System32\Windowspowershell\v1.0\Help.format.ps1xml
System32\Windowspowershell\v1.0\powershell.exe
System32\Windowspowershell\v1.0\powershellcore.format.ps1xml
System32\Windowspowershell\v1.0\powershelltrace.format.ps1xml
System32\Windowspowershell\v1.0\powershell_ise.exe
System32\Windowspowershell\v1.0\psevents.dll
System32\Windowspowershell\v1.0\pspluginwkr.dll
System32\Windowspowershell\v1.0\pwrshmsg.dll
System32\Windowspowershell\v1.0\pwrshsip.dll
System32\Windowspowershell\v1.0\Registry.format.ps1xml
System32\Windowspowershell\v1.0\types.ps1xml
System32\Windowspowershell\v1.0\wsman。Format.ps1xml
System32\Windowspowershell\v1.0\language_code\importallmodules.psd1
System32\Windowspowershell\v1.0\language_code\powershell.exe.mui
System32\Windowspowershell\v1.0\language_code\powershell_ise.resources.dll
System32\Windowspowershell\v1.0\language_code\psevents.dll.mui
System32\Windowspowershell\v1.0\language_code\pspluginwkr.dll.mui
System32\Windowspowershell\v1.0\language_code\pwrshmsg.dll.mui
System32\Windowspowershell\v1.0\modules\psdiagnostics\psdiagnostics.psd1
System32\Windowspowershell\v1.0\modules\psdiagnostics\psdiagnostics.psm1
System32\Windowspowershell\v1.0\modules\bitstransfer\bitstransfer。Format.ps1xml
System32\Windowspowershell\v1.0\modules\bitstransfer\bitstransfer.psd1
System32\Windowspowershell\v1.0\modules\bitstransfer\Microsoft.backgroundintelligenttransfer.Management.Interop.dll
System32\Wsmpty.xsl
System32\Wsmtxt.xsl
System32\Wwsmpty.xsl
System32\Wwsmtxt.xsl
System32\Wevtfwd.dll
System32\Winrm.cmd
System32\Winrm.vbs
System32\Winrmprov.dll
System32\Winrmprov.mof
System32\Winrs.exe
System32\Winrscmd.dll
System32\Winrshost.exe
System32\Winrsmgr.dll
System32\Winrssrv.dll
System32\Wsmanconfig_schema.xml
System32\Wsmanhttpconfig.exe
System32\Wsmanmigrationplugin.dll
System32\Wsmauto.dll
System32\Wsmplpxy.dll
System32\Wsmprovhost.exe
System32\Wsmres.dll
System32\Wsmselpl.dll
System32\Wsmsvc.dll
System32\Wsmwmipl.dll
System32\Wecapi.dll
System32\Wecsvc.dll
System32\Wecutil.exe

Windows 管理框架位

Windows 管理框架位 (位 4.0) 程序包将安装以下文件:
收起该表格展开该表格
System32\Qmgr.dll
System32\Qmgrprxy.dll
System32\Bitsigd.dll
System32\Bitsprx2.dll
System32\Bitsprx3.dll
System32\Bitsprx4.dll
System32\Bitsprx5.dll
System32\Bitsprx6.dll
System32\Bitsperf.dll
System32\Peerdist.dll
System32\Peerdistsvc.dll
System32\Peerdisthttptrans.dll
System32\Peerdistsh.dll
System32\Peerdistwsddiscoprov.dll
System32\Lightweightserver.dll
System32\Lightweightserverproxy.dll
System32\Wbem\Bitsprovider.dll

这篇文章中的信息适用于:
  • Windows Server 2008 Service Pack 2?当用于
    • Windows Server 2008 Datacenter without Hyper-V
    • Windows Server 2008 Enterprise without Hyper-V
    • Windows Server 2008 Standard without Hyper-V
    • Windows Server 2008 Datacenter
    • Windows Server 2008 Enterprise
    • Windows Server 2008 Standard
    • Windows Web Server 2008
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
  • Windows Web Server 2008
  • Microsoft Windows Server 2003 Service Pack 2?当用于
    • Microsoft Windows Server 2003 Datacenter Edition
    • Microsoft Windows Server 2003, Datacenter x64 Edition
    • Microsoft Windows Server 2003, Enterprise x64 Edition
    • Microsoft Windows Server 2003 Enterprise Edition
    • Microsoft Windows Server 2003, Standard x64 Edition
    • Microsoft Windows Server 2003 Standard Edition
    • Microsoft Windows Server 2003 Web Edition
  • Windows Vista Service Pack 2?当用于
    • Windows Vista Business
    • Windows Vista Business 64-bit edition
    • Windows Vista Business N
    • Windows Vista Business N 64-bit Edition
    • Windows Vista Enterprise
    • Windows Vista Home Basic
    • Windows Vista Home Basic N
    • Windows Vista Home Basic N 64-bit Edition
    • Windows Vista Home Premium
    • Windows Vista Starter
    • Windows Vista Ultimate
  • Windows Vista Service Pack 1?当用于
    • Windows Vista Business
    • Windows Vista Business 64-bit edition
    • Windows Vista Business N
    • Windows Vista Business N 64-bit Edition
    • Windows Vista Enterprise
    • Windows Vista Home Basic
    • Windows Vista Home Basic N
    • Windows Vista Home Basic N 64-bit Edition
    • Windows Vista Home Premium
    • Windows Vista Starter
    • Windows Vista Ultimate
  • Microsoft Windows XP Service Pack 3?当用于
    • Microsoft Windows XP Home Edition
    • Microsoft Windows XP Home Edition N
    • Microsoft Windows XP Professional Edition
    • Microsoft Windows XP Professional N
    • Microsoft Windows XP Starter Edition
  • Windows Embedded POSReady 2009
  • Microsoft Windows Embedded for Point of Service
关键字:?
kbdownload kbtshoot kbhowto atdownload kbexpertiseinter kbexpertisebeginner kbsurveynew kbinfo kbmt KB968929 KbMtzh
机器翻译机器翻译
注意:这篇文章是由无人工介入的微软自动的机器翻译软件翻译完成。微软很高兴能同时提供给您由人工翻译的和由机器翻译的文章, 以使您能使用您的语言访问所有的知识库文章。然而由机器翻译的文章并不总是完美的。它可能存在词汇,语法或文法的问题,就像是一个外国人在说中文时总是可能犯这样的错误。虽然我们经常升级机器翻译软件以提高翻译质量,但是我们不保证机器翻译的正确度,也不对由于内容的误译或者客户对它的错误使用所引起的任何直接的, 或间接的可能的问题负责。
点击这里察看该文章的英文版: 968929? (http://support.microsoft.com/kb/968929/en-us/ )
Microsoft和/或其各供应商对于为任何目的而在本服务器上发布的文件及有关图形所含信息的适用性,不作任何声明。 所有该等文件及有关图形均"依样"提供,而不带任何性质的保证。Microsoft和/或其各供应商特此声明,对所有与该等信息有关的保证和条件不负任何责任,该等保证和条件包括关于适销性、符合特定用途、所有权和非侵权的所有默示保证和条件。在任何情况下,在由于使用或运行本服务器上的信息所引起的或与该等使用或运行有关的诉讼中,Microsoft和/或其各供应商就因丧失使用、数据或利润所导致的任何特别的、间接的、衍生性的损害或任何因使用而丧失所导致的之损害、数据或利润不负任何责任。