Posted On June 11, 2019

Hyper-V Administration Console

kimconnect 0 comments
blog.KimConnect.com >> Virtualization >> Hyper-V Administration Console

Install the Hyper-V Management Console

# Windows 2016 or higher: install the Hyper-V management tool pack (Hyper-V Manager and the Hyper-V PowerShell module)

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Tools-All

Output:

PS C:\Windows\system32> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Tools-All
Path :
Online : True
RestartNeeded : False

Alternate output:

PS C:\Windows\system32> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Tools-All
Enable-WindowsOptionalFeature : Feature name Microsoft-Hyper-V-Tools-All is unknown.
At line:1 char:1
+ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand

PS C:\Windows\system32> add-windowsfeature rsat-hyper-v-tools

Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True No Success {Hyper-V Module for Windows PowerShell, Hy...
# Windows 2008 R2

# Import this to avoid error: The term 'add-windowsfeature' is not recognized as the name of a cmdlet
Import-Module servermanager

# Install hyper-v manager
add-windowsfeature rsat-hyper-v-tools
# Initiate the Hyper-V Manager

virtmgmt.msc

Start the Hyper-V Management Console:

Run: virtmgmt.msc > right-click Hyper-V Manager > Connect to Server… > click the radio button next to ‘Another computer:’ selection > input the Hyper-V host name > OK > repeat process to add other Hyper-V nodes onto this management console

After the servers have been added into the console, the list will be automatically saved. Hence, closing and re-opening of the Hyper-V console will call this list as defaults

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Windows 2016: NIC Teaming

Assumptions OS: Microsoft Windows Server 2016 Network Switch: Cisco Nexus 9000 NX-OS with dual supervisors,…

PowerShell: Get Hyper-V Host Name from Inside Guest VM

$guestVMName="SOMENAME"function getHyperVHostname{ param([string]$guestVMName=$env:computername) $hive = [Microsoft.Win32.RegistryHive]::LocalMachine; $keyPath = 'SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters'; $value = 'HostName'; $reg =…

Hyper-V: Creating a New Virtual Machine

# Compulsory variables $hyperVHost='HYPERV007' $vmName='WindowsGoldenImage' $parentDirectory='C:\ClusterStorage\Volume5' $disk1Size='100GB' $memoryAllocation='8GB' $networkSwitch='PublicZone' $vlan='1005' $clusterName='DEV-CLUSTER05' # Optional variables $disk2Size=$false…