We have a particular local user account configured on all our computers. Need to be able to determine which computers have that account set for "Password never expires" or not. The Set-LocalUser commandlet can set the "never expires" flag, but the Get-LocalUser is very limited, and doesn't seem to have a way to retrieve user settings (such as the "never expires" flag).
Watched a bunch of PDQ videos, looked at blog postings, looked at Microsoft docs, but haven't figured it out.
Please sign in to leave a comment.