VMware Cloud Community
RajuVCP
Hot Shot
Hot Shot

Need Script to fetch the users and groups added in ESXi host Permission Tab

Does any one using a script which can fetch the users and group added in ESXi host Permission tab.

The users and groups with the permission provided.

Thanks in Advance.

Raju Gunnal VCP 4, VCP 5, VTSP 4, VTSP 5, ITIL V3 http://www.techtosolution.com
0 Kudos
2 Replies
schepp
Leadership
Leadership

Hi,

I don't know of a script, but you could write your own one pretty simple.

The three cmdlets you need are


Get-VIPermission

Get-VIRole

Get-VIPrivilege

Tim

0 Kudos
LucD
Leadership
Leadership

Try like this

Get-Inventory | Get-VIPermission | Select @{N='Entity';E={$_.Entity.Name}},Principal,Role,Propagate


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos