Solved

vCenter - Roles and Permission Information

Posted on 2015-02-19
2
189 Views
Last Modified: 2015-02-23
What is the best way to extract "Roles and Permission" from vCenter ?
0
Comment
Question by:Hitesh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

695 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