- Windows Management Framework Windows Management Framework
- Заметки о выпуске WMF WMF Release Notes
- Доступность WMF в различных операционных системах Windows WMF Availability Across Windows Operating Systems
- Windows Management Framework
- WMF Release Notes
- WMF Availability Across Windows Operating Systems
- RTM Windows Management Framework 5.0 на Windows 8.1 и Windows Server 2012 R2
- Сведения об этом обновлении
- Как получить это обновление
- Центр загрузки Майкрософт
- Подробные сведения об обновлении
- Предварительные условия
- Сведения о реестре
- Необходимость перезагрузки
- Сведения о замене обновлений
- Статус
- Дополнительные сведения
- Ссылки
- Заметки о выпуске Windows Management Framework (WMF) 5.x Windows Management Framework (WMF) 5.x Release Notes
- Изменения WMF 5.0 WMF 5.0 Changes
- Изменения WMF 5.1 WMF 5.1 Changes
- Выпуски PowerShell PowerShell Editions
- Дополнительные сведения об использовании выпусков PowerShell Learn more about using PowerShell Editions
- Кэш анализа модуля Module Analysis Cache
- Указание версии модуля Specifying module version
- Усовершенствования Pester Improvements to Pester
Windows Management Framework Windows Management Framework
Windows Management Framework (WMF) — это согласованный интерфейс управления для Windows. Windows Management Framework (WMF) provides a consistent management interface for Windows. WMF обеспечивает удобный способ управления несколькими версиями клиента Windows и Windows Server. WMF provides a seamless way to manage various versions of Windows client and Windows Server. Пакеты установщика WMF содержат обновления для функций управления и доступны для более старых версий Windows. WMF installer packages contain updates to management functionality and are available for older versions of Windows.
При установке WMF добавляются или обновляются следующие компоненты: WMF installation adds and/or updates the following features:
- Windows PowerShell Windows PowerShell
- Windows PowerShell Desired State Configuration (DSC) Windows PowerShell Desired State Configuration (DSC)
- Интегрированная среда сценариев Windows PowerShell (ISE) Windows PowerShell Integrated Script Environment (ISE)
- Удаленное управление Windows (WinRM) Windows Remote Management (WinRM)
- Инструментарий управления Windows (WMI) Windows Management Instrumentation (WMI)
- Веб-службы Windows PowerShell (расширение IIS OData для управления) Windows PowerShell Web Services (Management OData IIS Extension)
- Инвентаризация программного обеспечения (SIL) Software Inventory Logging (SIL)
- Поставщик CIM диспетчера сервера Server Manager CIM Provider
Заметки о выпуске WMF WMF Release Notes
Сведения о различных улучшениях в PowerShell и других компонентах определенной версии WMF см. по следующим ссылкам на заметки о выпусках: To learn about various enhancements in PowerShell and other components of a given WMF, please refer to the links below to review the release notes:
Доступность WMF в различных операционных системах Windows WMF Availability Across Windows Operating Systems
Версия операционной системы Operating System Version | WMF 5.1WMF 5.1 | WMF 5.0 WMF 5.0 Не поддерживаетсяOut of support | WMF 4.0WMF 4.0 | WMF 3.0WMF 3.0 | WMF 2.0WMF 2.0 |
---|---|---|---|---|---|
Windows Server 2019 Windows Server 2019 | Входит в комплект поставки Ships in-box | ||||
Windows Server 2016 Windows Server 2016 | Входит в комплект поставки Ships in-box | ||||
Windows 10 Windows 10 | Входит в комплект поставки Ships in-box | Входит в комплект поставки Ships in-box | |||
Windows Server 2012 R2 Windows Server 2012 R2 | Да Yes | Да Yes | Входит в комплект поставки Ships in-box | ||
Windows 8.1 Windows 8.1 | Да Yes | Да Yes | Входит в комплект поставки Ships in-box | ||
Windows Server 2012 Windows Server 2012 | Да Yes | Да Yes | Да Yes | Входит в комплект поставки Ships in-box | |
Windows 8 Windows 8 Не поддерживаетсяOut of support | Входит в комплект поставки Ships in-box | ||||
Windows Server 2008 R2 с пакетом обновления 1 (SP1) Windows Server 2008 R2 SP1 | Да Yes | Да Yes | Да Yes | Да Yes | Входит в комплект поставки Ships in-box |
Windows 7 с пакетом обновления 1 (SP1) Windows 7 SP1 | Да Yes | Да Yes | Да Yes | Да Yes | Входит в комплект поставки Ships in-box |
Windows Server 2008 с пакетом обновления 2 (SP2) Windows Server 2008 SP2 | Да Yes | Да Yes | |||
Windows Vista Windows Vista Не поддерживаетсяOut of support | Да Yes | ||||
Windows Server 2003 Windows Server 2003 Не поддерживаетсяOut of support | Да Yes | ||||
Windows XP Windows XP Не поддерживаетсяOut of support | Да Yes | Да Yes |
- Входит в комплект поставки : функции указанной версии WMF были включены в указанную версию клиента Windows или Windows Server. Ships in-box : The features of the specified version of WMF were shipped in the indicated version of Windows client or Windows Server.
- Не поддерживается : эти продукты больше не поддерживаются корпорацией Майкрософт. Out of support : These products are no longer supported by Microsoft. Необходимо обновить продукт до новой поддерживаемой версии. You must upgrade to a new version that is supported. Дополнительные сведения см. на странице Политика жизненного цикла поддержки Майкрософт. For more information, see the Microsoft Lifecycle Policy page.
Установщик WMF 5.0 больше недоступен или не поддерживается. The installer for WMF 5.0 is no longer available or supported. Он заменен на WMF 5.1. It has been replaced by WMF 5.1.
Windows Management Framework
Windows Management Framework (WMF) provides a consistent management interface for Windows. WMF provides a seamless way to manage various versions of Windows client and Windows Server. WMF installer packages contain updates to management functionality and are available for older versions of Windows.
WMF installation adds and/or updates the following features:
- Windows PowerShell
- Windows PowerShell Desired State Configuration (DSC)
- Windows PowerShell Integrated Script Environment (ISE)
- Windows Remote Management (WinRM)
- Windows Management Instrumentation (WMI)
- Windows PowerShell Web Services (Management OData IIS Extension)
- Software Inventory Logging (SIL)
- Server Manager CIM Provider
WMF Release Notes
To learn about various enhancements in PowerShell and other components of a given WMF, please refer to the links below to review the release notes:
WMF Availability Across Windows Operating Systems
Operating System Version | WMF 5.1 | WMF 5.0 Out of support | WMF 4.0 | WMF 3.0 | WMF 2.0 |
---|---|---|---|---|---|
Windows Server 2019 | Ships in-box | ||||
Windows Server 2016 | Ships in-box | ||||
Windows 10 | Ships in-box | Ships in-box | |||
Windows Server 2012 R2 | Yes | Yes | Ships in-box | ||
Windows 8.1 | Yes | Yes | Ships in-box | ||
Windows Server 2012 | Yes | Yes | Yes | Ships in-box | |
Windows 8 Out of support | Ships in-box | ||||
Windows Server 2008 R2 SP1 | Yes | Yes | Yes | Yes | Ships in-box |
Windows 7 SP1 | Yes | Yes | Yes | Yes | Ships in-box |
Windows Server 2008 SP2 | Yes | Yes | |||
Windows Vista Out of support | Yes | ||||
Windows Server 2003 Out of support | Yes | ||||
Windows XP Out of support | Yes | Yes |
- Ships in-box: The features of the specified version of WMF were shipped in the indicated version of Windows client or Windows Server.
- Out of support: These products are no longer supported by Microsoft. You must upgrade to a new version that is supported. For more information, see the Microsoft Lifecycle Policy page.
The installer for WMF 5.0 is no longer available or supported. It has been replaced by WMF 5.1.
RTM Windows Management Framework 5.0 на Windows 8.1 и Windows Server 2012 R2
В данной статье рассматривается обновление для RTM Windows Management Framework (WMF) 5.0 через cлужбы Windows Server Update Services (WSUS) в Windows Server 2012 R2 или Windows 8.1. Перед установкой этого обновления прочтите раздел Предварительные условия.
Сведения об этом обновлении
Windows Management Framework (WMF) 5.0 обеспечивает функциональность, которая была обновлена с WMF 4.0. Среди новых и обновленных функциях в этом обновлении:
Достаточно администрирования (JEA)
Создание пользовательских типов с помощью PowerShell классов
Усовершенствования отладки сценариев PowerShell
Улучшения в нужное состояние конфигурации (DSC)
Аудит использования PowerShell с помощью транскрипции и ведение журнала
Обнаружение программ установки и товарами с PackageManagement
Обнаружение модуля PowerShell, установки и товарами с PowerShellGet
Обнаружение сценария PowerShell, установки и управления с PowerShellGet
Новые и обновленные командлеты на основе отзывов сообщества
Создание конечной точке OData на основе командлеты PowerShell
Сеть управления коммутатором с помощью PowerShell
Учет программного обеспечения ведения журнала (SIL)
Как получить это обновление
Центр загрузки Майкрософт
Следующий файл доступен для загрузки из центра загрузки Майкрософт:
Для получения дополнительных сведений о том, как скачать файлы поддержки Майкрософт, щелкните следующий номер статьи базы знаний Майкрософт.
Как загрузить файлы поддержки Microsoft через оперативные службы Корпорация Майкрософт проверила этот файл на наличие вирусов. Корпорация Майкрософт использует последнее антивирусное программное обеспечение, доступное на период публикации файла. Файл хранится на защищенных серверах, что предотвращает его несанкционированное изменение.
Подробные сведения об обновлении
Предварительные условия
Чтобы применить это обновление, необходимо иметь в установленной у вас Windows Server 2012 R2 или Windows 8.1.
Сведения о реестре
Чтобы применить это обновление, не нужно вносить изменения в реестр.
Необходимость перезагрузки
Возможно потребуется перезагрузить компьютер после установки этого обновления.
Сведения о замене обновлений
Это обновление не заменяет ранее выпущенное обновление.
Статус
Корпорация Майкрософт подтверждает, что это обновление в продуктах Майкрософт, перечисленных в разделе «Относится к».
Дополнительные сведения
Список продуктов, которые его совместимости с Windows Management Framework 5.0 см .
Ссылки
Дополнительные сведения о , которую корпорация Майкрософт использует для описания обновлений программного обеспечения.
Заметки о выпуске Windows Management Framework (WMF) 5.x Windows Management Framework (WMF) 5.x Release Notes
Изменения WMF 5.0 WMF 5.0 Changes
Изменения WMF 5.1 WMF 5.1 Changes
WMF 5.1 включает компоненты PowerShell, WMI, WinRM и Software Inventory Logging (SIL), которые были выпущены с Windows Server 2016. WMF 5.1 includes the PowerShell, WMI, WinRM, and Software Inventory Logging (SIL) components that were released with Windows Server 2016. Службу WMF 5.1 можно установить на Windows 7, Windows 8.1, Windows Server 2008 R2, 2012 и 2012 R2; она предоставляет ряд улучшений в WMF 5.0, включая следующие: WMF 5.1 can be installed on Windows 7, Windows 8.1, Windows Server 2008 R2, 2012, and 2012 R2, and provides several improvements over WMF 5.0 including:
- Новые командлеты New cmdlets
- Улучшения PowerShellGet включают принудительное подписание модулей и установку модулей JEA. PowerShellGet improvements include enforcing signed modules, and installing JEA modules
- Дополнительная поддержка PackageManagement для контейнеров, установка CBS, установка на основе EXE, пакеты CAB. PackageManagement added support for Containers, CBS Setup, EXE-based setup, CAB packages
- Улучшения отладки для классов DSC и PowerShell. Debugging improvements for DSC and PowerShell classes
- Улучшения для системы безопасности, включая принудительное использование модулей, подписанных каталогом и полученных от опрашивающего сервера, а также при использовании командлетов PowerShellGet. Security enhancements including enforcement of catalog-signed modules coming from the Pull Server and when using PowerShellGet cmdlets
- Ответы на разные запросы пользователей и решение проблем. Responses to a number of user requests and issues
Перед установкой WMF 5.1 в Windows Server 2008 или Windows 7 убедитесь, что WMF 3.0 не установлен. Before you install WMF 5.1 on Windows Server 2008 or Windows 7, confirm that WMF 3.0 isn’t installed. Дополнительные сведения см. в статье о предварительных требованиях WMF 5.1 для Windows Server 2008 R2 с пакетом обновления 1 (SP1) и Windows 7 с пакетом обновления 1 (SP1). For more information, see WMF 5.1 Prerequisites for Windows Server 2008 R2 SP1 and Windows 7 SP1.
Выпуски PowerShell PowerShell Editions
Начиная с версии 5.1 доступны различные выпуски среды PowerShell, что означает различные наборы возможностей и совместимость с разными платформами. Starting with version 5.1, PowerShell is available in different editions that denote varying feature sets and platform compatibility.
- Desktop Edition: создан на базе платформы .NET Framework и обеспечивает совместимость со сценариями и модулями, предназначенными для версий PowerShell в полноценных выпусках Windows, таких как Server Core и Windows Desktop. Desktop Edition: Built on .NET Framework and provides compatibility with scripts and modules targeting versions of PowerShell running on full footprint editions of Windows such as Server Core and Windows Desktop.
- Core Edition: построен на основе .NET Core и обеспечивает совместимость со скриптами и модулями, которые предназначены для версий PowerShell, выполняющихся в выпусках Windows с ограниченными возможностями, таких как Nano Server и Windows IoT. Core Edition: Built on .NET Core and provides compatibility with scripts and modules targeting versions of PowerShell running on reduced footprint editions of Windows such as Nano Server and Windows IoT.
Дополнительные сведения об использовании выпусков PowerShell Learn more about using PowerShell Editions
Кэш анализа модуля Module Analysis Cache
Начиная с версии WMF 5.1 среда PowerShell предоставляет средства управления файлом, в котором кэшируются сведения о модуле, например экспортируемые им команды. Starting with WMF 5.1, PowerShell provides control over the file that is used to cache data about a module, such as the commands it exports.
По умолчанию этот кэш хранится в файле $
Чтобы изменить расположение кэша по умолчанию, присвойте значение переменной среды $env:PSModuleAnalysisCachePath перед запуском PowerShell. To change the default location of the cache, set the $env:PSModuleAnalysisCachePath environment variable before starting PowerShell. Изменения, вносимые в эту переменную среды, влияют только на дочерние процессы. Changes to this environment variable will only affect children processes. Значение должно быть полным путем (включая имя файла), на создание и запись файлов по которому у среды PowerShell есть разрешение. The value should name a full path (including filename) that PowerShell has permission to create and write files. Чтобы отключить файловый кэш, укажите в качестве этого значения недопустимое расположение, например: To disable the file cache, set this value to an invalid location, for example:
Таким образом задается путь к недопустимому устройству. This sets the path to an invalid device. Если среда PowerShell не может осуществлять запись по указанному пути, ошибка не выводится; сообщения об ошибках можно получить, используя трассировщик: If PowerShell can’t write to the path, no error is returned, but you can see error reporting by using a tracer:
При выгрузке кэша среда PowerShell ищет модули, которые больше не существуют, чтобы кэш не был излишне большим. When writing out the cache, PowerShell will check for modules that no longer exist to avoid an unnecessarily large cache. Иногда эти проверки нежелательны. В этом случае их можно отключить, задав Sometimes these checks are not desirable, in which case you can turn them off by setting:
Новое значение этой переменной среды вступает в силу немедленно в текущем процессе. Setting this environment variable will take effect immediately in the current process.
Указание версии модуля Specifying module version
В WMF 5.1 using module работает так же, как другие связанные с модулями конструкции в PowerShell. In WMF 5.1, using module behaves the same way as other module-related constructions in PowerShell. Ранее не было возможности указать определенную версию модуля; при наличии нескольких версий возникала ошибка. Previously, you had no way to specify a particular module version; if there were multiple versions present, this resulted in an error.
В WMF 5.1: In WMF 5.1:
Она имеет тот же формат, что и Get-Module -FullyQualifiedName . This hash table has the same format as Get-Module -FullyQualifiedName .
Пример: using module @
Если имеется несколько версий модуля, в PowerShell используется та же логика разрешения , что и в Import-Module , и ошибка не выводится. Это поведение аналогично поведению Import-Module и Import-DscResource . If there are multiple versions of the module, PowerShell uses the same resolution logic as Import-Module and doesn’t return an error—the same behavior as Import-Module and Import-DscResource .
Усовершенствования Pester Improvements to Pester
В WMF 5.1 обновлена версия Pester, распространяемая с PowerShell, с 3.3.5 до 3.4.0. In WMF 5.1, the version of Pester that ships with PowerShell has been updated from 3.3.5 to 3.4.0. Это обновление улучшает работу Pester на сервере Nano Server. This update enables better behavior for Pester on Nano Server.
Изменения в Pest можно просмотреть в журнале изменений в репозитории GitHub. You can review the changes in Pest by inspecting the ChangeLog in the GitHub repository.