Remotely managing Hyper-V hosts from workgroup computer

Posted: December 21, 2016 in Windows Server

On Hyper-V host open PowerShell as administrator:


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





Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s