- Windows Server 2012 and Windows 8
- Windows PowerShell features
- Установка подсистемы Windows PowerShell 2.0 Installing the Windows PowerShell 2.0 Engine
- Windows 8.1 и Windows 8 On Windows 8.1 and Windows 8
- Включение .NET Framework 3.5 To turn on .NET Framework 3.5
- Включение и отключение подсистемы Windows PowerShell 2.0 To turn the Windows PowerShell 2.0 Engine on and off
- Windows Server 2012 или Windows Server 2012 R2 On Windows Server 2012 R2 and Windows Server 2012
- Добавление компонента .NET Framework 3.5 To add the .NET Framework 3.5 feature
- Добавление функции подсистемы Windows PowerShell 2.0 To add the Windows PowerShell 2.0 Engine feature
- В предыдущих версиях систем On Earlier Systems
Windows Server 2012 and Windows 8
This topic lists the Windows PowerShell modules included with Windows Server 2012 and Windows 8. The Windows PowerShell modules in the list support automating the features of those operating systems and provide links to the cmdlet references for each module. These modules enable you to use Windows PowerShell to administer, maintain, configure, and develop new features for Windows Server 2012 and Windows 8.
For information about the core features common to all versions of Windows PowerShell, see Windows PowerShell Core.
The table below also shows the latest published version of the Help for each module. The Help is available through the links below, or as Updatable Help files. Updatable Help was introduced with Windows PowerShell 3.0 and enables you to have the latest Help topics available locally on your computer. See about_Updatable_Help for more information.
Windows PowerShell features
Module Name (sorted by) | Title and link to Web version |
---|---|
ActiveDirectory | AD DS Administration Cmdlets |
ADCSAdministration | AD CS Administration Cmdlets |
ADCSDeployment | AD CS Deployment Cmdlets |
ADDSDeployment | AD DS Deployment Cmdlets |
ADFS | AD FS Cmdlets |
ADRMS | AD RMS Deployment Cmdlets |
ADRMSAdmin | AD RMS Administration Cmdlets |
Applocker | AppLocker Cmdlets |
AppX | App Installation Cmdlets |
BestPractices | Best Practices Analyzer Cmdlets |
BitLocker | BitLocker Cmdlets |
BranchCache | BranchCache Cmdlets |
ClusterAwareUpdating | Cluster-Aware Updating Cmdlets |
DcbQoS | Data Center Bridging (DCB) Quality of Service (QoS) Cmdlets |
Deduplication | Deduplication Cmdlets |
DFSN | DFSN Cmdlets |
DhcpServer | DHCP Cmdlets |
DirectAccessClientComponents | DirectAccess Client Cmdlets |
Dism | DISM Cmdlets |
DnsClient | DNS Client Cmdlets |
DnsServer | DNS Server Cmdlets |
FailoverClusters | Failover Clusters Cmdlets |
FileServerResourceManager | FSRM Cmdlets |
GroupPolicy | Group Policy Cmdlets |
Hyper-V | Hyper-V Cmdlets |
International | International Settings Cmdlets |
IpamServer | IPAM Cmdlets |
iScsi | iSCSI Cmdlets |
iScsiTarget | iSCSI Target Cmdlets |
KDS | KDS Cmdlets |
MMAgent | Memory Management Agent (MMAgent) Cmdlets |
Mpio | MultiPath I/O (MPIO) Cmdlets |
MsDtc | Distributed Transaction Coordinator (MSDTC) Cmdlets |
MSOnlineBackup | Windows Azure Backup Cmdlets |
MsMq | MSMQ Cmdlets |
NetAdapter | Network Adapter Cmdlets |
NetConnection | Network Connection Profile Cmdlets |
NetLBFO | NIC Teaming (NetLBFO) Cmdlets |
NetQoS | Network Quality of Service (QoS) Cmdlets |
NetSecurity | Network Security Cmdlets |
NetSwitchTeam | Network Switch Team Cmdlets |
NetTcpip | Net TCP/IP Cmdlets |
NetWnv | NetWNV Cmdlets |
NetworkConnectivity | Network Connectivity Status Cmdlets |
NetworkLoadBalancingClusters | Network Load Balancing Cmdlets |
NetworkTransition | Network Transition Cmdlets |
NFS | NFS Cmdlets |
NPS | NPS Cmdlets |
PKI | PKI Client Cmdlets |
PrintManagement | Print Management Cmdlets |
RemoteAccess | Remote Access Cmdlets |
RemoteDesktop | Remote Desktop Cmdlets |
ScheduledTasks | Scheduled Tasks Cmdlets |
SecureBoot | Secure Boot Cmdlets |
ServerCore | Server Core Cmdlets |
ServerManager | Server Manager Cmdlets |
ServerManagerTasks | Server Manager Tasks Cmdlets |
ServerMig_Cmdlets | Server Migration Cmdlets |
SMBShare | SMB Share Cmdlets |
SMBWitness | SMB Witness Cmdlets |
SMISConfig | SMI-S Cmdlets |
Storage | Storage Cmdlets |
TroubleshootingPack | Troubleshooting Pack (TP) Cmdlets |
TrustedPlatformModule | Trusted Platform Module (TPM) Cmdlets |
UpdateServices | Windows Server Update Services (WSUS) Cmdlets |
UserAccessLogging | User Access Logging (UAL) Cmdlets |
VAMT | VAMT Cmdlets |
VPNClient | VPN Client Cmdlets |
WDAC | Windows Data Access Components (WDAC) Cmdlets |
WebAdministration | Web Server (IIS) Administration Cmdlets |
WHEA | WHEA Cmdlets |
WasPSExt | Windows Assessment Services Cmdlets |
WindowsDeveloperLicense | Windows Developer License Cmdlets |
WindowsErrorReporting | Windows Error Reporting Cmdlets |
WindowsServerBackup | Windows Server Backup Cmdlets |
WSSCmdlets | Windows Server Backup Cmdlets |
You can also find these modules by searching the PowerShell Module Browser.
Установка подсистемы Windows PowerShell 2.0 Installing the Windows PowerShell 2.0 Engine
В этом разделе описывается установка модуля Windows PowerShell 2.0. This topic explains how to install the Windows PowerShell 2.0 Engine.
Windows PowerShell 3.0 предназначен для обратной совместимости с Windows PowerShell 2.0. Windows PowerShell 3.0 is designed to be backwards compatible with Windows PowerShell 2.0. Командлеты, поставщики, оснастки, модули и сценарии, написанные для Windows PowerShell 2.0, выполняются и в Windows PowerShell 3.0, и Windows PowerShell 4.0 без изменений. Cmdlets, providers, snap-ins, modules, and scripts written for Windows PowerShell 2.0 run unchanged in Windows PowerShell 3.0 and Windows PowerShell 4.0. Однако из-за изменений в политике активации среды выполнения в Microsoft .NET Framework 4 основные программы Windows PowerShell, написанные для Windows PowerShell 2.0 и скомпилированные с помощью среды CLR 2.0, не могут выполняться в последующих выпусках Windows PowerShell 4.0, компилируемых в среде CLR 2.0, без изменений. However, due to a change in the runtime activation policy in Microsoft .NET Framework 4, Windows PowerShell host programs that were written for Windows PowerShell 2.0 and compiled with Common Language Runtime (CLR) 2.0 cannot run without modification in later releases of Windows PowerShell, which is compiled with CLR 4.0.
Чтобы обеспечить обратную совместимость с командами и основными программами, которые были затронуты этими изменениями, подсистемы Windows PowerShell 2.0, Windows PowerShell 3.0 и Windows PowerShell 4.0 рассчитаны на параллельное выполнение. To maintain backward compatibility with commands and host programs that are affected by these changes, the Windows PowerShell 2.0, Windows PowerShell 3.0, and Windows PowerShell 4.0 engines are designed to run side-by-side. Кроме того, подсистема Windows PowerShell 2.0 входит в Windows Server 2012 R2, Windows 8.1, Windows 8, Windows Server 2012 и Windows Management Framework 3.0. Also, the Windows PowerShell 2.0 Engine is included in Windows Server 2012 R2, Windows 8.1, Windows 8, Windows Server 2012, and Windows Management Framework 3.0. Подсистема Windows PowerShell 2.0 предназначена для использования только в том случае, если выполнение существующего сценария или существующей основной программы невозможно из-за несовместимости с Windows PowerShell 3.0, Windows PowerShell 4.0 или Microsoft .NET Framework 4. The Windows PowerShell 2.0 Engine is intended to be used only when an existing script or host program cannot run because it is incompatible with Windows PowerShell 3.0, Windows PowerShell 4.0, or Microsoft .NET Framework 4. Такие ситуации довольно редки. Such cases are expected to be rare.
Обработчик Windows PowerShell 2.0 представляет собой дополнительный компонент Windows Server 2012 R2, Windows 8.1, Windows® 8 и Windows Server® 2012. The Windows PowerShell 2.0 Engine is an optional feature of Windows Server 2012 R2, Windows 8.1, Windows® 8 and Windows Server® 2012. В более ранних версиях Windows при установке Windows Management Framework 3.0 установка Windows PowerShell 3.0 полностью заменяет установку Windows PowerShell 2.0 в каталоге установки Windows PowerShell. On earlier versions of Windows, when you install Windows Management Framework 3.0, the Windows PowerShell 3.0 installation completely replaces the Windows PowerShell 2.0 installation in the Windows PowerShell installation directory. При этом подсистема Windows PowerShell 2.0 сохраняется. However, the Windows PowerShell 2.0 Engine is retained.
Дополнительные сведения о запуске подсистемы Windows PowerShell 2.0 см. в статье Запуск подсистемы Windows PowerShell 2.0. For information about starting the Windows PowerShell 2.0 Engine, see Starting the Windows PowerShell 2.0 Engine.
Windows 8.1 и Windows 8 On Windows 8.1 and Windows 8
В Windows 8.1 и Windows 8 функция подсистемы Windows PowerShell 2.0 по умолчанию включена. On Windows 8.1 and Windows 8, the Windows PowerShell 2.0 Engine feature is turned on by default. Однако для его использования следует включить параметр для необходимой ему платформы Microsoft .NET Framework 3.5. However, to use it, you need to turn on the option for Microsoft .NET Framework 3.5, which it requires. Этот раздел также поясняет, как включать и отключить компонент подсистемы Windows PowerShell 2.0. This section also explains how to turn the Windows PowerShell 2.0 Engine feature on and off.
Включение .NET Framework 3.5 To turn on .NET Framework 3.5
На экране Пуск введите компоненты Windows. On the Start screen, type Windows Features.
В панели Приложения щелкните Параметры , а затем выберите Включение или отключение компонентов Windows. On the Apps bar, click Settings , and then click Turn Windows features on or off.
В поле Компоненты Windows выберите элемент .NET Framework 3.5 (включает .NET 2.0 и 3.0). In the Windows Features box, click .NET Framework 3.5 (includes .NET 2.0 and 3.0 to select it.
При выборе элемента .NET Framework 3.5 (включает .NET 2.0 и 3.0) поле заливается, указывая, что выбрана только часть компонента. When you select .NET Framework 3.5 (includes .NET 2.0 and 3.0 , the box fills to indicate that only part of the feature is selected. Этого достаточно для подсистемы Windows PowerShell 2.0. However, this is sufficient for the Windows PowerShell 2.0 Engine.
Включение и отключение подсистемы Windows PowerShell 2.0 To turn the Windows PowerShell 2.0 Engine on and off
На экране Пуск введите компоненты Windows. On the Start screen, type Windows Features.
В панели Приложения щелкните Параметры , а затем выберите Включение или отключение компонентов Windows. On the Apps bar, click Settings , and then click Turn Windows features on or off.
В поле Компоненты Windows разверните узел Windows PowerShell 2.0 и установите либо снимите флажок Windows PowerShell 2.0 Engine. In the Windows Features box, expand the Windows PowerShell 2.0 node, and click the Windows PowerShell 2.0 Engine box to select or clear it.
Windows Server 2012 или Windows Server 2012 R2 On Windows Server 2012 R2 and Windows Server 2012
Для добавления подсистемы Windows PowerShell 2.0 и компонентов Microsoft .NET Framework 3.5 используйте описанные ниже процедуры. Use the following procedures to add the Windows PowerShell 2.0 Engine and Microsoft .NET Framework 3.5 features. Подсистеме Windows PowerShell 2.0 требуется Microsoft .NET Framework версии не ниже 2.0.50727. The Windows PowerShell 2.0 Engine requires Microsoft .NET Framework 2.0.50727 at a minimum. Этому требованию удовлетворяет Microsoft .NET Framework 3.5. This requirement is fulfilled by Microsoft .NET Framework 3.5.
Добавление компонента .NET Framework 3.5 To add the .NET Framework 3.5 feature
В меню Управление****диспетчера сервера выберите Добавить роли и компоненты. In Server Manager , from the Manage menu, select Add Roles and Features.
Можно также выбрать Все серверы в диспетчере сервера , щелкнуть имя сервера правой кнопкой мыши и выбрать Добавить роли и компоненты. Or in Server Manager , click All Servers , right-click a server name, and then select Add Roles and Features.
На странице Тип установки выберите Установка ролей или компонентов. On the Installation Type page, select Role-based or feature-based installation.
На странице Компоненты разверните узел Компоненты .NET Framework 3.5 и выберите команду .NET Framework 3.5 (включает .NET 2.0 и 3.0). On the Features page, expand the .NET 3.5 Framework Features node and select .NET Framework 3.5 (includes .NET 2.0 and 3.0).
Другие параметры в этом узле для подсистемы Windows PowerShell 2.0 не требуются. The other options under that node are not required for the Windows PowerShell 2.0 Engine.
Добавление функции подсистемы Windows PowerShell 2.0 To add the Windows PowerShell 2.0 Engine feature
В меню Управление****диспетчера сервера выберите Добавить роли и компоненты. In Server Manager , from the Manage menu, select Add Roles and Features.
Можно также щелкнуть Все серверы в диспетчере сервера , щелкнуть имя сервера правой кнопкой мыши и выбрать Добавить роли и компоненты. Or Server Manager , click All Servers , right-click a server name, and then select Add Roles and Features.
На странице Тип установки выберите Установка ролей или компонентов. On the Installation Type page, select Role-based or feature-based installation.
На странице Компоненты раскройте Windows PowerShell (установлено) и выберите пункт Подсистема Windows PowerShell 2.0. On the Features page, expand the Windows PowerShell (Installed) node and select Windows PowerShell 2.0 Engine.
Дополнительные сведения о запуске подсистемы Windows PowerShell 2.0 см. в статье Запуск подсистемы Windows PowerShell 2.0. For information about starting the Windows PowerShell 2.0 Engine, see Starting the Windows PowerShell 2.0 Engine.
В предыдущих версиях систем On Earlier Systems
Пакет Windows Management Framework 4.0, устанавливающий Windows PowerShell 4.0 в Windows 7, Windows Server 2008 R2 и Windows Server 2012, включает подсистему Windows PowerShell 2.0. The Windows Management Framework 4.0 package that installs Windows PowerShell 4.0 on Windows 7, Windows Server 2008 R2, and Windows Server 2012, includes the Windows PowerShell 2.0 Engine. Подсистема Windows PowerShell 2.0 включена и готова к использованию без дополнительной установки, настройки или конфигурации. The Windows PowerShell 2.0 Engine is enabled and ready to use, if necessary, without additional installation, setup, or configuration.
Пакет Windows Management Framework 3.0, устанавливающий Windows PowerShell 3.0 в Windows 7, Windows Server 2008 R2 и Windows Server 2008, включает подсистему Windows PowerShell 2.0. The Windows Management Framework 3.0 package that installs Windows PowerShell 3.0 on Windows 7, Windows Server 2008 R2, and Windows Server 2008, includes the Windows PowerShell 2.0 Engine. Подсистема Windows PowerShell 2.0 включена и готова к использованию без дополнительной установки, настройки или конфигурации. The Windows PowerShell 2.0 Engine is enabled and ready to use, if necessary, without additional installation, setup, or configuration.