1. 安装 VMware.PowerCLI
Install-Module -Name VMware.PowerCLI -Proxy "http://127.0.0.1:10809" -AllowClobber
2. 安装 ESXi-Customizer-PS
ESXi-Customizer-PS 对 VMware PowerCLI 进行了一定程度的封装。
3. 执行命令下载镜像
ESXi-Customizer-PS.ps1 -v70 -sip -vft -load net-e1000e,net51-r8169,net55-r8168,esx-ui,sata-xahci,net51-sky2,esxcli-shell
命令执行失败,需要手动下载 ESXi 离线包和驱动,然后打包,参考: https://blog.csdn.net/kadwf123/article/details/108314199