欢迎光临
我们一直在努力

Hyper-V 2016 配置管理系列(Part7)

远程连接到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:\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并配置以下策略

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

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。