Solved

vCenter - Roles and Permission Information

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

792 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