Skip to main content

Automatically create vSphere roles to use with Veeam ONE


falkob
Forum|alt.badge.img+13
  • Veeam Vanguard
  • 90 comments

Based on my original script from 2020 where I created a vCenter role for Veeam Backup & Replication with PowerCLI, I decided to do the same for Veeam ONE. You can find the other script for VBR here:

As a result the blog post here with the new script was born !

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

The privileges used are based on the recommendations out of the Veeam Help Center which you can find here: Connection to Virtualization Servers

Simply execute the script and follow the steps to fill in the relevant data. Most importantly 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.

 

The script in action :D

After you have created the role you need to assign a user to it. As a result, continue within Veeam ONE where you add your vCenter Server.

 

Veeam ONE vCenter “add”
The process to add vCenter servers or virtualization servers in general is described here: Connecting VMware vSphere Servers
 

Furthermore, feel free to give me feedback on this script, as I want to further improve it ! And if you have more ideas on automating Veeam related product roles in vCenter feel free to reach out, we can quickly adapt those scripts :)

You can read about this on my blog as well: https://www.virtualhome.blog/2022/02/07/vcenter-role-for-veeam-one-with-powercli/

The script itself can be found on Github: Creating a new vCenter server role with cumulative privileges and permissions to use with Veeam ONE V11

As always, I appreciate your time on reading this post and have a great day !

8 comments

vNote42
Forum|alt.badge.img+13
  • On the path to Greatness
  • 1246 comments
  • February 7, 2022

Great, thanks Falko!


victorwu
Forum|alt.badge.img+7
  • Veeam Vanguard
  • 375 comments
  • February 7, 2022

Thanks for sharing!:bow:


JMeixner
Forum|alt.badge.img+17
  • On the path to Greatness
  • 2650 comments
  • February 7, 2022

Great. It is as useful as your other script. :sunglasses::thumbsup_tone3:


Iams3le
Forum|alt.badge.img+11
  • Veeam Legend
  • 1394 comments
  • February 7, 2022

Great information @falkob and thank you very much for sharing...


falkob
Forum|alt.badge.img+13
  • Author
  • Veeam Vanguard
  • 90 comments
  • February 7, 2022

Thank you guys ! Feel free to give feedback or of course do a pull request on Github :D


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8518 comments
  • February 7, 2022

Another great script.  Time to test this one too. :smiley:


Forum|alt.badge.img+4
  • Experienced User
  • 576 comments
  • February 7, 2022

Great @falkob 


marcofabbri
Forum|alt.badge.img+13
  • On the path to Greatness
  • 990 comments
  • February 9, 2022

I’ll give a try in test, very nice! @falkob 


Comment