Lanwench [MVP - Exchange]
2009-12-10 22:15:43 UTC
Hiya - for a W2003 (not R2) domain with two DCs, I'm being asked to
automatically disable user accounts that have not been used within x days.
This would be for one or two specific OUs only.
I've been looking around but haven't found much that looks like it will do
the trick. I'd like to run this script as a scheduled task once daily, and
I'd like it to output results & actions to a log (heck, as long as I'm at
it, I'd like it to output to the event log too. And I'd like a pony. But a
simple text log file will suffice).
Any ideas? I've poked around on the illustrious Mr. Mueller's site & on the
MS scripting site but I am not seeing anything that will do this...
automatically disable user accounts that have not been used within x days.
This would be for one or two specific OUs only.
I've been looking around but haven't found much that looks like it will do
the trick. I'd like to run this script as a scheduled task once daily, and
I'd like it to output results & actions to a log (heck, as long as I'm at
it, I'd like it to output to the event log too. And I'd like a pony. But a
simple text log file will suffice).
Any ideas? I've poked around on the illustrious Mr. Mueller's site & on the
MS scripting site but I am not seeing anything that will do this...