vmware / PowerCLI-Example-Scripts

http://blogs.vmware.com/powercli
Other
746 stars 603 forks source link

[Vmware.Vsphere.SsoAdmin] Updating user passwords via SsoAdmin module #508

Closed thinkdavid closed 2 years ago

thinkdavid commented 2 years ago

Currently there is a cmdlet to update the certificate used to connect to an External AD source, but none to update the password. Many corporate customers have guidelines that mandate the rotation of passwords so this would be very useful to them.

thinkdavid commented 2 years ago

@dmilov

dmilov commented 2 years ago

@thinkdavid It's about the domain authentication password, isn't it? If we add a parameter set to Set-LDAPIdentitySource that updates the domain authentication would it cover the use-case?

thinkdavid commented 2 years ago

Yes, exactly. It's possible via the UI, I believe.

Updating the password as set by: [Parameter( Mandatory = $true, ValueFromPipeline = $false, ValueFromPipelineByPropertyName = $false, HelpMessage = 'Domain authentication password')] [ValidateNotNull()] [string] $Password,

dmilov commented 2 years ago

Fixed in https://www.powershellgallery.com/packages/VMware.vSphere.SsoAdmin/1.3.7