How to Migrate VMs to New vCenter using PowerCLI

I faced this same question recently in my work environment. I was taking over the management of some infrastructure for a remote site, along with adding new hardware. The existing hardware was in a standalone vCenter, and the new hardware was connected to our enterprise vCenter. Lucky for me, the standalone vCenter was version 6.7 and has the ability to run the PowerCLI cross vCenter migrations.… Continue reading

Use PowerCLI to List Installed VIBs on ESXi

Recently I upgraded my environment to VMware 7u3c, but I had concerns about the issue with the i40enu VIB. Some of my hosts were running the version of ESXi that were listed as having the renamed VIB. So I really didn’t want to have to mess with downloading the python script, transferring it to the vCenter to run it.… Continue reading

How to add a VM to Content Library using PowerCLI

This task sounds very simple.  Target the VM, then import to the primary content library for replication to the subordinate libraries.  This task can be accomplished right now with a few clicks in the GUI.  I’m not a GUI kind of person, I like the mash the keys to get stuff done.  So after a lot of research, I found that the PowerCLI commands to perform this function just don’t exist at this point.… Continue reading