Creating a vCenter role for Veeam V11 with PowerCLI

Since I was tired to click roles together in vCenter server, I wrote a simple script on creating a vCenter role for Veeam with PowerCLI.

This PowerShell / PowerCLI script lets you create a new vCenter server role with all the cumulative privileges and permissions to use them with Veeam Backup & Replication V11.

The privileges used are based on the recommendations out of the Veeam Help Center which you can find here: Cumulative Permission for VMware vSphere – Veeam Help Center

Simply execute the script and follow the steps to fill in the relevant data like your vCenter server name, the username and your password. The script will then ask you to choose a name for your new role and automatically creates it.

Creating a vCenter role for Veeam with PowerCLI

Feel free to give me feedback on this script, as I want to further improve it.

Already planned improvements

  • Add a function to assign a user to the role

You can get the script here: New_vCenterRole_Veeam.ps1

Furthermore, here are my other VMware related articles: https://www.virtualhome.blog/category/vmware/

As always, thanks for reading and have a nice day !

About Falko Banaszak

Falko Banaszak is a Principal Field Solutions Architect specializing in "Cyber Resiliency" at Pure Storage and is based in Germany. Over the past decade, he has developed a strong expertise in virtualization, business continuity and disaster recovery / BCDR. Falko leads the technical team at Pure Storage in the solution domain called "Cyber Resiliency" which combines the Pure Storage Platform with Cyber Security & Data Protection vendors. Falko is also a certified Business Continuity Manager, a Veeam Vanguard program member and a founder and leader of the German Veeam Usergroup.

Check Also

Veeam Logo 2024

Sizing and Architecting for Object Storage with Veeam – Part 1

Introduction on Sizing and Architecting for Object Storage In this blog series, I’m going to …

3 comments

  1. It’s cool. Great script. Can I share it in my post in Chinese?

Leave a Reply

Your email address will not be published. Required fields are marked *