IT, Digital & Culture
On Hyper-V Server
Enable-PSRemoting
Enable-WSManCredSSP -Role server
On Managing Client
Set-NetConnectionProfile -InterfaceAlias Ethernet -NetworkCategory Private
Start-Service -Name winrm
Set-Item WSMan:\localhost\Client\TrustedHosts -Value "hyperv-server.home.local"
Stop-Service -Name winrm
cmdkey /add:HYPERV-SERVER /user:Administrator /pass:
runas
:runas /user:HYPERV-SERVER\Administrator /netonly "mmc virtmgmt.msc"
Summary
After lots of mucking around, this is the bare-minimum working configuration I’ve found to remotely manage a Hyper-V server in a non-domain environment.
I’m still not 100% certain why Hyper-V Manager does not work with supplied credentials and the cmdkey
or runas
workaround is necessary.
Stolen from: https://blog.ropnop.com/remotely-managing-hyper-v-in-a-workgroup-environment