首页 > 其他分享 >批量添加esxi主机到Vcenter

批量添加esxi主机到Vcenter

时间:2022-11-21 16:45:45浏览次数:68  
标签:批量 Get esxi 192.168 添加 主机 Vcenter


1 连接vcenter

Connect-VIServer -Protocol https -User '[email protected]' -Password 'Vcenter密码' -Server Vcenter地址192.168.x.x

 2 查看Vcenter主机Get-VMHost

3 添加exsi主机到Vcenter
Add-VMHost -Name 192.168.242.136 -Location (Get-Datacenter data) -User root -Password 'esxi密码'



来自为知笔记(Wiz)

标签:批量,Get,esxi,192.168,添加,主机,Vcenter
From: https://www.cnblogs.com/kaixin940/p/16911859.html

相关文章