vCenter

 View Only
  • 1.  Easy way for export which privilege does Roles have

    Posted Mar 17, 2020 04:38 PM

    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



  • 2.  RE: Easy way for export which privilege does Roles have

    Broadcom Employee


  • 3.  RE: Easy way for export which privilege does Roles have

    Posted Mar 18, 2020 06:02 AM

    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...



  • 4.  RE: Easy way for export which privilege does Roles have

    Posted Mar 18, 2020 06:05 AM

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



  • 5.  RE: Easy way for export which privilege does Roles have

    Posted Mar 18, 2020 06:39 AM

    With PowerCLI

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



  • 6.  RE: Easy way for export which privilege does Roles have

    Posted Mar 19, 2020 06:23 AM

    Many Thanks to all

    I will try it and report whether it worked