Get vCenter CloudAdmin Role Permissions

Had a request to show all privileges assigned to CloudAdmin in VMC.  Here is a PowerCLI one-liner to dump a list of permissions.

Get-VIRole “CloudAdmin” | Get-VIPrivilege | Select-object ParentGroup, Description | Sort-Object ParentGroup | Export-Csv permissions.csv

Here’s the output file: permissions.csv


Leave a Reply

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