This article provided steps to recover and power on a virtual machine through the ESXi host after a power outage is restored and the virtual machines are shown in an skipped unknown.
VMware vSphere ESXi 7.x
vim-cmd vmsvc/getallvms | grep <vm_name>NB: If vCenter is also part of affected VM's we can use the host UI/SSH
How to add a virtual machine to the vCenter Server inventory through the ESXi host Add or Register a Virtual Machine (VM) in vCenter Server