PowerCLI

 View Only
  • 1.  POWER CLI - Create new users in vsphere.local

    Posted Aug 10, 2017 09:30 PM

    How can i create new users in vSphere.local using powercli?



  • 2.  RE: POWER CLI - Create new users in vsphere.local

    Posted Aug 11, 2017 05:04 AM

    Not via a cmdlet or an API method I'm afraid.

    But you can use the dir-cli command (eventually through an SSH session or the Invoke-VMScript cmdlet), see William's post vCenter Server 6.0 Tidbits Part 9: Creating & managing SSO users using dir-cli



  • 3.  RE: POWER CLI - Create new users in vsphere.local

    Posted Dec 26, 2023 08:23 PM

    Is this still accurate?



  • 4.  RE: POWER CLI - Create new users in vsphere.local

    Posted Dec 26, 2023 09:00 PM

    No, there is now the VMware.vSphere.SsoAdmin module that contains the New-SsoPersonUser cmdlet.
    See also New Open Source PowerCLI Module for managing vCenter Single Sign-On (SSO) - VMware PowerCLI Blog



  • 5.  RE: POWER CLI - Create new users in vsphere.local

    Posted Dec 27, 2023 07:19 PM

    Thank you and it can also be obtained here.

    PowerShell Gallery | VMware.vSphere.SsoAdmin 1.3.9