Solved

vCenter - Roles and Permission Information

Posted on 2015-02-19
2
175 Views
Last Modified: 2015-02-23
What is the best way to extract "Roles and Permission" from vCenter ?
0
Comment
Question by:Hitesh
2 Comments
 
LVL 5

Accepted Solution

by:
Alessandro Scafaria earned 500 total points
ID: 40620742
You may perform this task throught some vSphere PowerCLI commands:

1.      Download and install vSphere PowerCLI into your vCenter Server

http://blogs.vmware.com/PowerCLI/2011/06/back-to-basics-part-1-installing-powercli.html

2.      Bypass Powershell execution security

Open a Powershell session (both 64 and 32 bits) and write this command:

set-executionpolicy remotesigned

Open in new window



3.      Open a PowerCLI shell from Start Menu--->All Programs-->VMware--->PowerCLI

Perform this commands:

Connect-VIServer 

Open in new window


and then insert the IP or FQDN of your Vcenter Server

Get-VIPermission | Select Role, Principal, Entity, UID | Export-CSV “C:\Rights.csv”

Open in new window


Now you have a CSV file with all Vcenter Roles and Permissions exported.
0
 

Author Closing Comment

by:Hitesh
ID: 40627116
Fantastic, thank you very very much. This is exactly what I was looking for.

One more question, Can you please let me know how can I extract Datastore information (Name, size, VMs, connected ESX host, free space etc..)

Your help will be much appreciated. Thanks
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How to shrink virtual disk on XenServer? 3 60
VMWare VCenter Appliance 7 59
Go To/Delete Snapshot 10 22
Desktop Pools and Vms 4 10
It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now