Installing features on Windows Server
Although using the Install-WindowsFeature cmdlet of Windows PowerShell is the preferred method for installing most roles and features on remote servers running Windows Server 2012, there might be some advantage to using the Add Roles And Features Wizard when you want to install the Hyper-V role on a server. This is because the wizard presents you with four Hyper-V configuration options that you would have to configure separately using different cmdlets after role installation if you are using Windows PowerShell to install the role. These four configuration options are
Configuring the default location for virtual disk files
Configuring the default location for virtual machine configuration files
Creating a new virtual switch
Enabling live migration
If you configure these settings during the installation of the role using the wizard, you won’t need to configure them later as part of the post-installation configuration of the host.
Mitch Tulloch is a nine-time recipient of the Microsoft Most Valuable Professional (MVP) award and a widely recognized expert on Windows administration, deployment and virtualization. For more information see http://www.mtit.com. This tip was excerpted from his latest book Training Guide: Installing and Configuring Windows Server 2012 from Microsoft Press.