Automation

 View Only
  • 1.  list of groups I am am member of.

    Posted Feb 06, 2023 03:55 PM

    I am an Admin in vcenter, and I have not logged on in a couple of months. I have a ticket to do some work, but I found that many things are grayed out and the other "normal Admins" are out this week. Is there a powercli method to see what groups I am a member of?
    I tried get-viaccount but that didn't yield what groups I am in.

     

     



  • 2.  RE: list of groups I am am member of.

    Posted Feb 06, 2023 04:40 PM

    Check this article: 

    http://vcloud-lab.com/entries/powercli/PowerCLI-get-the-list-of-users-and-groups-from-vCenter-SSO 

     

    And check your PowerCLI version. Maybe it should be updated. 
    I am also using quite often that command 

    Get-VIAccount


  • 3.  RE: list of groups I am am member of.

    Posted Feb 06, 2023 04:52 PM

    Thanks for the reply, it does not show me what groups an account is a member of.



  • 4.  RE: list of groups I am am member of.

    Posted Feb 06, 2023 05:14 PM

    Do you mean the Roles or the Security Groups your account belongs to?
    Also, is that a local account, an SSO account, or an LDAP account?



  • 5.  RE: list of groups I am am member of.
    Best Answer

    Posted Feb 07, 2023 03:19 PM

    It is an LDAP account. I have 'solved' my issue though. Sometime in the last few months the "regular" admins made an undocumented change and moved most all of the admins to groups that have a narrower focus, IE: could only work on VM's and not any VCENTER administration. I'm fine with that, I have access to the vsphere local admin and was able to complete the work that was requested of me.