Instalacja feature w Hyper-V Server 2008R2 z cmd

Lista dostępnych feature:

Dism /online /get-features /format:table

Wynik polecenia:

Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Image Version: 6.1.7600.16385

Features listing for package : Microsoft-Windows-ServerCore-Package~31bf3856ad364e35~amd64~~6.1.7601.17514


----------------------------------------------------------- | --------
Feature Name                                                | State   
----------------------------------------------------------- | --------
WindowsServerBackup                                         | Disabled
MultipathIo                                                 | Enabled 
BitLocker                                                   | Disabled
BitLocker-RemoteAdminTool                                   | Disabled
SNMP-SC                                                     | Disabled
TelnetClient                                                | Disabled
ServerCore-EA-IME                                           | Enabled 
ServerCore-EA-IME-WOW64                                     | Disabled
Microsoft-Hyper-V                                           | Enabled 
VmHostAgent                                                 | Disabled
Microsoft-Hyper-V-Configuration                             | Enabled 
SMBHashGeneration                                           | Disabled
ServerCore-WOW64                                            | Enabled 
MicrosoftWindowsPowerShell-WOW64                            | Disabled
MicrosoftWindowsPowerShell                                  | Enabled 
NetFx2-ServerCore                                           | Enabled 
NetFx2-ServerCore-WOW64                                     | Disabled
FailoverCluster-Core                                        | Enabled 
FailoverCluster-Core-WOW64                                  | Disabled
CoreFileServer                                              | Disabled
LightweightServer                                           | Enabled 
ServerManager-PSH-Cmdlets                                   | Enabled 
BestPractices-PSH-Cmdlets                                   | Enabled 
Microsoft-Windows-Web-Services-for-Management-IIS-Extension | Disabled
NetFx3-ServerCore                                           | Disabled
WCF-HTTP-Activation                                         | Disabled
WCF-NonHTTP-Activation                                      | Disabled
NetFx3-ServerCore-WOW64                                     | Disabled
Microsoft-Windows-RemoteFX-Host-Package                     | Disabled
Microsoft-Windows-RemoteFX-EmbeddedVideoCap-Setup-Package   | Disabled

The operation completed successfully.

Przykładowa instalacja feature SNMP:

Dism /online /enable -feature /featurename:SNMP -SC

Wynik polecenia:

Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Image Version: 6.1.7600.16385

Enabling feature(s)
The operation completed successfully.