Category: VBScript

GroupModifyManager.vbs

‘========================================================================= ‘ GroupModifyManager.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/4/2013 ‘ COMMENTS: This will set the manager for a group and optionally allow them ‘ to update group membership. Set the manager by specificying the LDAP path ‘ or DN of the user you want to …

Continue reading

ListRunningScripts.vbs

‘========================================================================= ‘ ListRunningScripts.vbs ‘ VERSION: 1.1 – Null value is returned when a script is launched by another user on the local computer and the script is not elevated for UAC. I added a check to look for this and alert the user. ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: …

Continue reading

IDK.vbs

‘========================================================================= ‘ IDK.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 12/8/2012 ‘ COMMENTS: If you have ever had an issue making a decision like “What Should ‘ I eat for dinner” or “What should I do tonight?” then IDK aka “I Don’t Know” ‘ is the 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

EmailParts.vbs

‘========================================================================= ‘ EmailParts.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 4/1/2012 ‘ COMMENTS: Four methods to break an email address into the local and ‘ domain parts. I prefer the string methods because you can make them ‘ 1-liners, doesn’t require additional variables, and simplifies error ‘ …

Continue reading

GoogleSitemap.vbs

‘========================================================================= ‘ GoogleSitemap.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 4/1/2012 ‘ COMMENTS: Traverse a local website root folder and generates a Google ‘ Sitemap .xml file based on the folder structure. Modify the variables ‘ in the settings section accordingly. The variables are explained below: ‘ …

Continue reading

EnumerateComputersByOU.vbs

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

Continue reading

ListComputerOS.vbs

‘========================================================================= ‘ ListComputerOS.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/1/2011 ‘ COMMENTS: Pass the ADsPath or Distinguished Name of the Computer Object or ‘ Container/Organizational Unit to the Function, and it’ll return the Computer Name ‘ and Operating System as Listed In Active Directory. ‘ EXAMPLE: …

Continue reading

EnumerateContactsByOU.vbs

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

Continue reading

GroupBackupRestore.vbs

‘========================================================================= ‘ GroupBackupRestore.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/1/2011 ‘ COMMENTS: This Script Will Bulk Backup Groups to a Text File and Can Also ‘ Restore the Groups After a Backup. It is Useful to Restore Accidentally ‘ Deleted Groups, Migrating Groups Across Domains, and …

Continue reading