Monitoring for MX record changes with VBScript

Sometimes, like in the case of an email migration, it is necessary to wait for DNS changes (MX records for example) to replicate before continuing your migration, otherwise mail might bounce or other nastiness may occur. The following VB Script runs in a loop and monitors a DNS record, in this case an MX record,…

0

Autodefrag via a VBScript

Drive defragmentation is not a very exciting subject, however in the past I’ve had a need to automate drive defragmentation via a scheduled task so I’ve used the following VB script.  It allows for email notification and varying levels of status messages. The select \ case section is used to exclude drives that you don’t…

0

Removing a proxy address from an NT Account

Occasionally it might be necessary to remove one or more items from the ProxyAddresses array in AD, this array contains all the SMTP addresses stamped on the AD object.   Here’s a VBScript that you can use to clean proxies off your AD accounts. 1) Change the highlighted DC=Contoso,DC=COM at the top of the script to…

0