powershell
set-executionpolicy remotesigned
Import-Module -Name VMware.PowerCLI
Get-Module -Name VMware.PowerCLI
cmd 需先升级 pip
cd python
python -m pip install --upgrade pip
cd pythonscripts目录
pip install six psutil lxml pyopenssl -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
cd 进 含有 如下文件目录
ESXi-Customizer-PS-v2.6.0.ps1
VMware-ESXi-8.0b-21203435-depot.zip
Drive et55-r8168-8.045a-napi.x86_64.vib
未对文件 D:esxiESXi-Customizer-PS-v2.6.0.ps1 进行数字签名
Set-ExecutionPolicy Unrestricted
.ESXi-Customizer-PS-v2.6.0.ps1 -izip .VMware-ESXi-8.0b-21203435-depot.zip -pkgDir x:esxiDrive
华旅网络 |