esxi添加硬盘驱动

1.下载ESXi-Customizer-PS-v2.6.0.ps1

把硬盘驱动放在D盘的drivers文件夹下

2.下载解压VMware-PowerCLI-12.2.0-17538434.zip到windowspowershell的module目录下,如C:\Windows\System32\WindowsPowerShell\v1.0\Modules

3.执行命令安装VMware-PowerCLI

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

Import-Module VMware.PowerCLI

esxi添加硬盘驱动_第1张图片

4.解除证书签名限制 Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $false

Set-PowerCLIConfiguration -InvalidCertificateAction Ignore

5.解锁Unblock-file "D:\Downloads\ESXi-Customizer-PS-v2.6.0.ps1"

6.进入ESXi-Customizer-PS-v2.6.0.ps1所在文件夹运行命令 .\ESXi-Customizer-PS-v2.6.0.ps1 -nsc -izip .\VMware-ESXi-6.7.0-8169922-depot.zip -pkgDir d:\drivers\

7.检查测试生成的iso光盘

你可能感兴趣的:(windows,服务器)