The attached NSH Script can be used as an Extended Object for displaying a list of local Windows users and the # of days since each user has changed their password. This can be helpful when creating a compliance rule to ensure that users have changed their passwords in X number of days.
Updated October 9, 2008 - Version 1.1
To install this script, do the following:
1. Save the script on your application server in the /share/sensors/extended_objects/win_local_user_pass_change.nsh ??TARGET.HOST??"
You can parse this Extended Object using the "split line into fields" grammar.
Once installed, you should be able to browse any Windows server and see the Extended Object displaying a list of local users and the # of days since their last password change.