Software >> OS >> Windows >> Command Line >>  How to obtain the last password set date and time for all windows users

for /f %a in ('wmic useraccount get name ^| findstr /V Name') do @echo %a & @net user %a | findstr /R Password.last.set