

#echo 'Restarting Services' #services. #license.cfg /etc/vmware/license.cfg # restart services echo 'Restarting VPXA'

# get a new trial license echo 'Copying new license' cp /etc/vmware/. Beyond the 60 days, you can enter the ESXi free license key (obtained at the time of download) or a paid license key to continue using the hypervisor. VMware V Sphere ESXi 6.7 Free Unlimited CPU License VMware 6.7 Web UI PART 3 For license key see Complete video key available in video. Vim-cmd vmsvc/power.shutdown " $vmid" echo 'Waiting for VM to power off.' i = 30 while do if then printf "bb $i" else printf "bb $i" fi sleep 1 i = ` expr $i - 1 ` done state = $(vim-cmd vmsvc/power.getstate $vmid | grep Powered ) x = ` expr $x + 1 ` done if then # remove license echo 'Removing License' rm -r /etc/vmware/license.cfg 0 on Unsupported CPU If you get the CPUSUPPORTERROR, you can follow below workaround to install the ESXi 7.

#!/bin/sh # This script shuts down the UPS-Agent and resets the license echo 'Getting VMID of UPS-Agent' vmid = $(vim-cmd vmsvc/getallvms | grep ups-agent | awk '' ) echo 'VMID is' $vmid echo 'Getting UPS-Agent Power state' state = $(vim-cmd vmsvc/power.getstate $vmid | grep Powered ) echo 'VM is currently' $state x = 1 while ] do echo 'Powering off.'
