Solved

vCenter - Roles and Permission Information

Posted on 2015-02-19
2
178 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

867 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

18 Experts available now in Live!

Get 1:1 Help Now