PowerCLI-Example-Scripts icon indicating copy to clipboard operation
PowerCLI-Example-Scripts copied to clipboard

[VMware.vSphere.SsoAdmin Enhancement Request] - Include password expiry binary values when using Get-SsoPersonUser

Open zwheeler-jm opened this issue 2 years ago • 0 comments

See https://github.com/vmware/PowerCLI-Example-Scripts/issues/460 for a previous request for more output in Get-SsoPersonuser and https://williamlam.com/2021/06/quick-tip-how-to-check-password-expiry-for-a-specific-vsphere-sso-user.html for details on the output from dir-cli.

Seeking to have not just PasswordExpirationRemainingDays in the output of Get-SsoPersonUser but also PasswordNeverExpires and PasswordExpired as binary true/false values.

See below for a sample output.

Name : vmware-svc-veeam Domain : vsphere.local Description : Local account for Veeam to access vCenter. FirstName : LastName : EmailAddress : Locked : False Disabled : False PasswordNeverExpires : False PasswordExpired : False PasswordExpirationRemainingDays : 250

zwheeler-jm avatar Mar 23 '22 16:03 zwheeler-jm