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

AWS Autoscale with Public IP re-association

Option 1:--associate-public-ip-address command option with the as-create-launch-config commandOption 2:Allocate an Elastic IP then adding a…

PowerShell: Increase CPU Count or Memory of VMs via Virtual Machine Manager

# IncreaseCpuandRamViaVMM.ps1 # User Input Variables $vmNames=@( 'TESTWINDOWS', 'TESTWINDOWS2' ) $vmmServer=$env:computername $setCpuCount=8 $setDynamicMemory=$false $dynamicMemoryMinimumGB='2GB' $dynamicMemoryMaximumGB='16GB'…

Reset CBT in VMware

# using VMware.VimAutomation.Coreclsif ( (Get-PSSnapin -Name VMware.VimAutomation.Core -ErrorAction SilentlyContinue) -eq $null ){Add-PsSnapin VMware.VimAutomation.Core}if ( (Get-PSSnapin…
Other project: DragonCoin.com