Category Archives: Scripting

Automate workaround for ESX Admins group

In a recent security advisory (VMSA-2024-0013), there is a workaround listed for hosts older than ESXi 8.0u3 (https://knowledge.broadcom.com/external/article/369707). This knowledge base article lists a few advanced settings and an esxcli command which can be ran to apply this workaround. Setting … Continue reading

Posted in Scripting, Virtualization | Leave a comment

Troubleshooting vCenter permission errors

I was recently helping troubleshoot an issue where a service account was configured with the least privileges possible. When the service attempted to perform a specific operation, an access denied message was encountered. The service performing this action immediately cleaned … Continue reading

Posted in Scripting, Virtualization | Leave a comment

PowerCLI 13.3, Scheduled Snapshot Removal, and Privilege Report

PowerCLI 13.3 was recently released (https://blogs.vmware.com/PowerCLI/2024/07/introducing-powercli-13-3.html). This release has a handful of really good features that we’ll explore below. vSphere modules updated to vSphere 8.0U3 The vSphere modules in PowerCLI 13.3 have been updated to support vSphere 8.0U3 features. One … Continue reading

Posted in Scripting, Virtualization | Leave a comment

Event Driven Automation: Domain Controller FSMO role has moved

In a prior post (https://enterpriseadmins.org/blog/scripting/event-driven-automation-with-aria-operations-for-logs-webhooks-and-jenkins/), I wrote about using Aria Operations for Logs to call Jenkins using a webhook to automate a process. In that post, Aria Operations for Logs is watching for a specific vSphere event and when that … Continue reading

Posted in Lab Infrastructure, Scripting | Leave a comment

Event Driven Automation with Aria Operations for Logs, webhooks, and Jenkins

I was recently looking at the VMware Event Broker Appliance fling (https://vmweventbroker.io/). This fling enables a custom function to execute when a vSphere event happens, sort of an ‘if this then that’ approach to vSphere events (https://octo.vmware.com/vsphere-power-event-driven-automation/). As I was … Continue reading

Posted in Lab Infrastructure, Scripting, Virtualization | 1 Comment