(For ESXi 7 & 8 ISOs, GO TO STEP 3) For 6.7 ISOs you must OFFLINE INSTALL PowerCLI 12.7.0 using the method shown below. Download it here. (PowerCLi 12.7.0 is the last Powercli version before Python became an extra requirement)
a. Start with a FRESH Windows system without Powercli ever being installed (Powercli's uninstaller does not appear to remove everything):
b. Extract all the contents of the PowerCLI zip to %ProgramFiles%\WindowsPowerShell\Modules
c. Unblock the new PowerCLI module files with this PS command:
Get-ChildItem -Path $env:PROGRAMFILES\WindowsPowerShell\Modules\ -Recurse | Unblock-File
d. Run the esxi6.7.ps1 script
For ESXi 7.x and 8.x ISOs: you must install the CURRENT version of VMware PowerCLI and Python > 3.7.1 download it here
a. Run the Python installer and check "Add Python to PATH" a the start of the install, then at the end of the install, select "Disable path length limit".
b. In Powershell: Install-Module VMware.PowerCLI -Scope CurrentUser (Select Y to install from untrusted repo)
Upgrade Python PIP via Command prompt (assumes 64 bit):