只要你有一件合理的事去做,你的生活就会显得特别美好! ------ 博客首页

Hyper-V 2016 配置管理系列(应用篇)

远程连接到Hyper-V HOST

为了日常运维管理操作,使用远程PowerShell工作。Windows 10上安装了RSAT(远程管理工具 )。然后安装了Hyper-V控制台:

clip_image001[20]

在能够远程连接到Hyper-V之前,需要从服务器和客户端角度进行一些配置。在两个节点中,运行以下cmdlet:

Enable-WSManCredSSP -Role server

在您的笔记本电脑中,运行以下cmdlet(由未来的Hyper-V主机FQDN替换hyper-v-host):

Set-Item WSMan:\localhost\Client\TrustedHosts -Value "10.10.0.5"

Set-Item WSMan:\localhost\Client\TrustedHosts -Value "hyper-v-host-01"

Set-Item WSMan:\localhost\Client\TrustedHosts -Value "10.10.0.6"

Set-Item WSMan:\localhost\Client\TrustedHosts -Value "hyper-v-host-02"

Enable-WSManCredSSP -Role client -DelegateComputer "10.10.0.5"

Enable-WSManCredSSP -Role client -DelegateComputer "hyper-v-host-01"

Enable-WSManCredSSP -Role client -DelegateComputer "10.10.0.6"

Enable-WSManCredSSP -Role client -DelegateComputer "hyper-v-host-02"

 

然后,运行gpedit.msc并配置以下策略

clip_image002[20]

现在,您可以利用新的Hyper-V管理器功能,该功能可以使用备用凭据连接到Hyper-V

clip_image003[18]

posted on 2019-03-20 10:22  --Dongjie  阅读(954)  评论(0编辑  收藏  举报