Archive for category Windows Scripting
Active Directory Password Expiry Reminder Email
Posted by Sheen in Windows Scripting on June 19, 2009
If you have managed an Active Directory installation that has a large number of users who connect to the network infrequently, you may have faced a problem where the user’s password expires when they are away from the network and possibly leaving them in a situation where they are not able to reset their password remotely.
I recently was in this situation and had to write a script to intimate users about an impending password expiry. Here is what the script does:
Active Directory Audit Script
Posted by Sheen in Windows Scripting on May 4, 2009
Paul Bergson wrote this brilliant script that queries active directory and gives you a wealth of information that can be used to audit active directory.
I have slightly modified this script and added a few lines to get information like the email address and the exchange home server of the user using the mail and msExchHomeServerName attributes.
You can download the modified script here.
How the script works:
Recent Comments