On Hyper-V host open PowerShell as administrator:
Enable-PSRemoting
To allow remote access on public zones, enable firewall rules for CredSSP and WinRM:
Enable-WSManCredSSP -Role server
On workstation computer (from which we need to access Hyper-V host edit hosts file
and add ip addressess of Hyper-V hosts
From CMD (Run as admin) add Hyper-V hosts as trusted hosts:
winrm set winrm/config/client @{TrustedHosts="hyperv-01,hyperv-02"}
Â
Add Hyper-V hosts credentials:
cmdkey /add:hyperv-01 /user:test\administrator /pass:Password01 cmdkey /add:hyperv-02 /user:test\administrator /pass:Password01
Add server to Hyper-V manager on workstartion computer (install it first)
Using PowerShell:
# Install only the PowerShell module Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Management-PowerShell # 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
Great Guide! Works perfect!
LikeLike
After losing half my hair trying to get Hyper-V manager to work, this guide did the trick, thank you!!!!!
LikeLike
This method did not work after the October Fall Update.
LikeLike
Yep – Not able to get Hyper-V Manager to connect to servers at all now. How are we supposed to remotely manager Hyper-V hosts now? Does anyone know? Tried everything – CredSSP=true on both workstation and server. Just won’t work. Going to run updates on the server to see if there is anything out there that fixes this.
LikeLiked by 1 person