VMware Cloud Community
RomanKn
Enthusiast
Enthusiast

Easy way for export which privilege does Roles have

As mentioned in the title, i'm looking for an easy way for export which privilege does Roles have.

There are not many roles but they all have very different privileges

Thanks

5 Replies
scott28tt
VMware Employee
VMware Employee

Chapter 2 should help: https://docs.vmware.com/en/VMware-vSphere/6.7/vsphere-esxi-vcenter-server-67-security-guide.pdf


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
RomanKn
Enthusiast
Enthusiast

Thanks scott28tt

I'm sorry I didn't write it clearly. It's not about the predefined roles.

Some roles with different privileges were created in the company. And I want to export them...

0 Kudos
Lalegre
Virtuoso
Virtuoso

Hey try to review the next post for the solution with PowerCLI: export roles from one vcenter and import to another

RoderikdeBlock
Enthusiast
Enthusiast

With PowerCLI

Get-VIPrivilege -Role "<role>" | %{$_.id} | Out-File c:\temp\role.txt

Roderik de Block


Blog: https://roderikdeblock.com
RomanKn
Enthusiast
Enthusiast

Many Thanks to all

I will try it and report whether it worked

0 Kudos