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
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