About a week ago, I read about a python exploit that was targeting ESXi servers. I looked up the 2 CVE that were related to the exploit, CVE-2019-5544 and CVE-2020-3992. I then wanted to see if these CVE had been patched by VMware, and they have via the VMSA-2019-0022 and VMSA-2020-0023.3. Which I’ve already patched for, but I was still curious as to the contents of the file ‘/etc/rc.local.d/local.sh’.… Continue reading
Tag: function
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
Generating VM Tags with PowerCLI
Generating VM Tags with PowerCLI
With the our new infrastructure upgrade it also included an upgrade to our backup solution. So we now have EMC Avamar for backups, and with this it means a chance to architect the backup solution the best possible way. So during the initial stage, I worked closely with our storage team to get the method that they chose to work. … Continue reading
Get free space of all Datastores with PowerCLI
Before I spin up a new VM, I like to check which datastore has the most free space. This can be completed with a PowerCLI command.
The problem with this, it it is too broad. This gets all of the datastores in vSphere, they are not in any sort of order, and it is also getting datastores that i wouldn’t normal use to put a VM on. … Continue reading