Sharing is caring, so hopefully you can learn from my experience and not make the same mistakes in your environment. If nothing else, take these PowerCLI snippets and grow. Caution. In my old environment, I would run this up to where I saw this Issue: Couldn’t put an ESXi host into maintenance mode because some VMs had an ISO attached…
Tag: #vmwarecode
How to get all available vCenter Permissions for a Role with PowerCLI
Today, I came across a blog post from Cosmin (2024 vExpert) that teaches the reader how to create a new, Custom vCenter Role for Aria Operations using PowerCLI. I went ahead and followed the steps, and had my new role created within 5 minutes. Super easy to follow steps. Great post, Cosmin! Seeing the permissions that Cosmin provided sparked my…