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

遠程連接到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]

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章