Category: AD Users

DeleteOldUsers.vbs

‘========================================================================= ‘ DeleteOldUsers.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 4/22/2014 ‘ USER TERMINATION POLICY: ‘ – Reset PW ‘ – Set description to termination date ‘ – Optionally forward email ‘ – Move terminated users to specified OU ‘ COMMENTS: This script works in conjunction with …

Continue reading

SyncToy21.vbs

‘========================================================================= ‘ SyncToy21.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 3/20/20114 ‘ REQUIREMENTS: You must install SyncToy on the Workstation and manually run it to click on ‘ the agreement statement, otherwise this script will lock up and NEVER back up!!! ‘========================================================================= Option Explicit ‘ —— SCRIPT …

Continue reading

ChangePrimaryEmailDomain.vbs

‘========================================================================= ‘ ChangePrimaryEmailDomain.vbs ‘ VERSION: 1.1 – Corrected Case Sensitive Error When Matching SMTP ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 10/29/2012 ‘ COMMENTS: Pass the ADsPath or Dinstinguished Name of the User/OU and New ‘ Email Domain to Modify the User(s) Primary SMTP Email Domain. The Script Will ‘ …

Continue reading

EnumerateUsersByOU.vbs

‘========================================================================= ‘ EnumerateUsersByOU.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/1/2011 ‘ COMMENTS: Pass the ADsPath or Dinstinguished Name of the Container/Organizational ‘ Unit to the Function, and it’ll return all of the Users Within. ‘ EXAMPLE: strUserPath = “LDAP://CN=Users,DC=domain,DC=com” ‘ strUserPath = “CN=Users,DC=domain,DC=com” ‘========================================================================= Option Explicit …

Continue reading

ListUserForwardTo.vbs

‘========================================================================= ‘ ListUserForwardTo.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/1/2011 ‘ COMMENTS: In AD the altRecipient Attribute aka Forward To, is the Email ‘ Address a User’s Email Forwards to. ‘ Pass the ADsPath or Dinstinguised Name of the User or ‘ Container/Organizational Unit to the …

Continue reading

ModifyUserForwardTo.vbs

‘========================================================================= ‘ ModifyUserForwardTo.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/1/2011 ‘ COMMENTS: In AD the altRecipient Attribute aka Forward To, is the Email ‘ Address a User’s Email Forwards to. ‘ ‘ strUserPath: ADsPath or distinguishedName of the User You Want to Modify the ‘ Email …

Continue reading