VBScript: PW Set to Never Expire
Posted on 2011-03-10
I'm trying to pull all ACTIVE accounts that start with "NPS" that are set to "NEVER EXPIRE" in Active Directory. The search would be based off their UPN prefix. i.e. "NPS0123456"
1.) Pull all active accounts where their UPN prefix begins with "NPS" Example filter to use in Script:
2.) Pull all active NPS accounts that are set to "NEVER EXPIRE"
3.) Produce and output report i.e. CSV with these finds.
Any help you can provide is GREATLY APPRECIATED.