Home » Microsoft » 70-410 v.2 » Which tool should you use?
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 setup.exe command
B. The ocsetup.exe command
C. The Install-Module cmdlet
D. The Install-WindowsFeature cmdlet
Correct Answer: D
Explanation/Reference:
Explanation:
Install-WindowsFeature -Installs one or more Windows Server roles, role services, or features on either the local or a specified remote server that is running Windows Server 2012 R2. This cmdlet is equivalent to and replaces Add-WindowsFeature, the cmdlet that was used to install roles, role services, and features in Windows Server 2008 R2. dism /online /get-features PS C:> Install-WindowsFeature -Name Web-Server – IncludeAllSubFeature -ComputerName Server1 -WhatIf
References:
https://docs.microsoft.com/en-us/powershell/module/servermanager/install-windowsfeature?view=winserver2012r2-ps
https://blogs.technet.microsoft.com/john_taylor/2013/01/08/converting-from-server-2012-core-install-to-full-gui/