管理網域外 (或沒有網域) 的 Hyper-V 主機
只有在連線到 Windows 10 或 Server 2016 Technical Preview 3 或更新版本的遠端主機時,才能使用此功能
#Server端, 以系統管理員身分,在要管理的 Hyper-V 主機上執行下列命令:
1.Enable-PSRemoting
2.Enable-PSRemoting 會為私人網路區域建立必要的防火牆規則。 若要在公用區域上允許這項存取,您必須啟用 CredSSP 和 WinRM 的這條規則。
Enable-WSManCredSSP -Role server
2.Enable-PSRemoting 會為私人網路區域建立必要的防火牆規則。 若要在公用區域上允許這項存取,您必須啟用 CredSSP 和 WinRM 的這條規則。
Enable-WSManCredSSP -Role server
#Client端, 在管理電腦上,以系統管理員身分執行下列命令:
1.Enable-PSRemoting
2.Set-Item WSMan:\localhost\Client\TrustedHosts -Value "fqdn-of-hyper-v-host"
3.Enable-WSManCredSSP -Role client -DelegateComputer "fqdn-of-hyper-v-host"
2.Set-Item WSMan:\localhost\Client\TrustedHosts -Value "fqdn-of-hyper-v-host"
3.Enable-WSManCredSSP -Role client -DelegateComputer "fqdn-of-hyper-v-host"