VMware Cloud Community
cn_mweber
Contributor
Contributor

List users from Group using PowerCLI

Hi,

how can I retrieve users from SSO-Domain (VIAccount -User) assigned to SSO-Domain group (VIAccount -Group)?

I can list users and groups from SSO-Domain but I cannot find mapping between them.

For example: How can I list users assigned to group "VSPHERE.LOCAL\Administrators"

Best regards,

Martin

0 Kudos
2 Replies
byroniwett
Contributor
Contributor

I, too, have come to a dead end in my search for such a solution. Have you found a solution?

I want to get a list of al the members of the various vsphere.local groups using PowerCLI.

I can get the groups, but cannot figure out how to get the members.

get-viaccount -Group  -domain vsphere.local | ft -a

Help...!

0 Kudos
LeMaster
Contributor
Contributor

Anybody find a way to do this yet?  It seems crazy that this information is not easily available for auditing purposes.

0 Kudos