You perform a Server Core Installation of Windows Server 2012 R2 on a server named Server1.
You need to add a graphical user interface (GUI) to Server1.
Which tool should you use?

A.
The Install-WindowsFeature cmdlet
B.
The Install-Module cmdlet
C.
The Install-RoleService cmdlet
D.
The setup.exe command
Explanation:
The DISM command is called by the Add-WindowsFeature commanD. Here is the syntax for DISM:
Dism /online /enable-feature /featurename:ServerCore-FullServer /featurename:Server- Gui-Shell
/featurename:Server-Gui-Mgmt
Or –
A: The setup.exe command
B: The dism.exe command
C: The imagex.exe command
D: The Add-WindowsPackage cmdlet
Answer: B
0
0
A, but it’s a Server 2008 cmdlet. Why isn’t there a WS2012 PS cmdlet?
0
0
2008 cmdlet is Add-WindowsFeature. The answer is correct.
0
0
Add or Install doesn’t matter. Server 2012 allows the old cmdlet from 2008 to be used as an alias.
0
0