VMware Cloud Community
Zoombie
Contributor
Contributor

User Permissions format

hi Friends ,

I have recently joined a new company as VM admin .The current Vcenter server version is 4.0 .Now the actuall issue is the previous administrator has given rights to a whole bunch of people.which is actually a big tree .Now i want the same user permissions in a excel format or a csv or any other format which can be easy read once .so can anyone help with a small way of finding it from VC or by any  script .

Regards

Zoombie

Message was edited by: vmroyale to remove the ALLCAPS from the subject line

Reply
0 Kudos
2 Replies
AndreTheGiant
Immortal
Immortal

http://www.virtu-al.net/2009/06/15/vsphere-permissions-export-import-part-1/

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
Reply
0 Kudos
Walfordr
Expert
Expert

If do not need anything fancy, install powercli and use this 1 liner:

1. Launch power cli

2. run Connect-VIServer <your vC sername>. Enter username and password when prompted

3. Get-VIPermission | Export-Csv -NoTypeInformation ..\output\vCenterPermissions.csv

You can change the output path.

Robert -- BSIT, VCP3/VCP4, A+, MCP (Wow I haven't updated my profile since 4.1 days) -- Please consider awarding points for "helpful" and/or "correct" answers.
Reply
0 Kudos