You perform a Server Core Ins
tallation of window Server 2012 R2 on 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
setup.exe
command
D. the
Add-WindowsPackage
cmdlet
E. the
Install-RoleService
cmdlet
F. the
ocsetup.exe
command
G. the
imagex.exe
command
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/