远程连接到Hyper-V HOST
为了日常运维管理操作,使用远程PowerShell工作。Windows 10上安装了RSAT(远程管理工具 )。然后安装了Hyper-V控制台:
在能够远程连接到Hyper-V之前,需要从服务器和客户端角度进行一些配置。在两个节点中,运行以下cmdlet:
Enable-WSManCredSSP -Role server
在您的笔记本电脑中,运行以下cmdlet(由未来的Hyper-V主机FQDN替换hyper-v-host):
Set-Item WSMan:localhostClientTrustedHosts -Value "10.10.0.5" Set-Item WSMan:localhostClientTrustedHosts -Value "hyper-v-host-01" Set-Item WSMan:localhostClientTrustedHosts -Value "10.10.0.6" Set-Item WSMan:localhostClientTrustedHosts -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并配置以下策略
现在,您可以利用新的Hyper-V管理器功能,该功能可以使用备用凭据连接到Hyper-V
![clip_image001[20] clip_image001[20]](https://img2018.cnblogs.com/blog/1015389/201903/1015389-20190320102209455-583438634.png)
![clip_image002[20] clip_image002[20]](https://img2018.cnblogs.com/blog/1015389/201903/1015389-20190320102214008-820086033.png)
![clip_image003[18] clip_image003[18]](https://img2018.cnblogs.com/blog/1015389/201903/1015389-20190320102215415-1611577345.png)