# vCenter user's audit

**URL:** <https://forums.powershell.org/t/vcenter-users-audit/23075>\
**Category:** PowerShell Help\
**Created:** [November 1, 2023, 2:40pm UTC](https://forums.powershell.org/t/vcenter-users-audit/23075 "2023-11-01T14:40:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandesh](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@Sandesh](https://forums.powershell.org/u/Sandesh)\
**Post date:** [November 1, 2023, 2:40pm UTC](https://forums.powershell.org/t/vcenter-users-audit/23075/1 "2023-11-01T14:40:00Z")

</div>

Any one help how to get user’s used privilage from assined privilege from vcenter.  
For ex. i have one user with administrator role, in administrator role user’s have many privileges, So how we can get from that privileges user’s how mauch previlage thay use. Any pwershell script or cmds

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [November 1, 2023, 3:23pm UTC](https://forums.powershell.org/t/vcenter-users-audit/23075/2 "2023-11-01T15:23:27Z")

</div>

Sandesh,  
Welcome to the forum. 👋🏼

This forum is for scripting questions rather than script requests. We do not write customized and ready to use scripts or solutions on request.

We actually expect you to make an own attempt at the first place to get your task done or to solve your problem. If you have done so already please document here what exactly you have done and show your code. Then we probably might be able to help you step further.

---

<div class="post-metadata">

**Author:** ![tonyd](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/tonyd/32/1041_2.png) [@tonyd](https://forums.powershell.org/u/tonyd)\
**Post date:** [November 1, 2023, 3:54pm UTC](https://forums.powershell.org/t/vcenter-users-audit/23075/3 "2023-11-01T15:54:48Z")

</div>

You can likely get all this done via the PowerCLI. Have a look here. Download the User Guide and if you see what you need, install the module. I did a few tests and it was very easy to get the users role and then permissions for that role.

> **[VMware.PowerCLI 13.1.0.21624340](https://www.powershellgallery.com/packages/VMware.PowerCLI/13.1.0.21624340)**
>
> This Windows PowerShell module contains VMware.PowerCLI

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:14pm UTC](https://forums.powershell.org/t/vcenter-users-audit/23075/4 "2024-05-16T20:14:36Z")

</div>

Closed on May 16, 2024, 8:14pm UTC


