Here’s a script using PowerCLI to handle disaster recovery by powering on VMs while ensuring that VMs originally powered off remain off. The script includes functionality to back up the current power state of VMs, compare it with the stored power state, and display a progress bar during the recovery process.
Continue reading “How to power on bulk VMs automatically in PowerCli”Tag: PowerCLI
How to get CDP Information of Vmnic on Esxi Hosts
In these days, I do have to backup the CDP info of our current esxi hosts and fortunately I found script this blog and official VMware site to discover information. Only I made little changes to the script to suite my environment. You need Powercli (PowerCLI 5.5 is here) already installed and must be connected to vCenter of specific Esxi host before running the script.
Continue reading “How to get CDP Information of Vmnic on Esxi Hosts”