Category: VBScript

GroupModifyMessageRestrictions.vbs

‘========================================================================= ‘ GroupModifyMessageRestrictions.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/1/2011 ‘ COMMENTS: Modifies Messages Restrictions on Email Enabled Groups as Shown ‘ on the Exchange General Tab under the Properties. Set the Group Path, ‘ Whether to Only Accept Messages from Authenticated Users, the Restriction ‘ …

Continue reading

GroupModifyType.vbs

‘========================================================================= ‘ GroupModifyType.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 Group, the Group ‘ Type (Global, Local, Universal), and Whether It Should Be Security Enabled ‘ and the Function Will Modify the Group Type. To Bulk …

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

GetIPInfo.vbs

‘========================================================================= ‘ GetIPInfo.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/1/2011 ‘ COMMENTS: Input a Computer DNS/IP, which then Clears the Current Arp Cache, ‘ Gets the IP of the DNS/IP, and then gets the MAC address of the DNS/IP. ‘ EXAMPLE: Wscript.Echo GetIPInfo(“Computer”) ‘========================================================================= Option Explicit …

Continue reading

ListLoggedOnUsers.vbs

‘========================================================================= ‘ ListLoggedOnUsers.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/1/2011 ‘ COMMENTS: Pass a Computer Name or IP to the Function and it will return ‘ the name computer name, # logged on users, and username of the logged on ‘ users. This works for local, …

Continue reading

NTBackup.vbs

‘========================================================================= ‘ NTBackup.vbs ‘ VERSION: 2.2 – Modified backupDestination to auto include the backupTitle as the end directory ‘ 2.1 – Fixed potential error on blat attachments ‘ 2.0 – Complete rewrite ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 3/7/2013 ‘ REQUIREMENTS: ‘ – NTBackup.exe 2000, XP, 2003 ‘ – …

Continue reading

ScriptSuicide.vbs

‘========================================================================= ‘ ScriptSuicide.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/1/2011 ‘ COMMENTS: Deletes the current script. This is useful when you are running ‘ scripts to automate tasks such as installations, logins, etc and you want ‘ to remove the script after it executes. ‘ EXAMPLE: …

Continue reading

GenerateIPv4Addresses.vbs

‘========================================================================= ‘ GenerateIPv4Addresses.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/1/2011 ‘ COMMENTS: Input the Start IPv4 IP Address and the End IPv4 IP Address to ‘ Generate All IP Addresses In a Log File for the Given Range. ‘ EXAMPLE: Input the Starting IPv4 Address: 192.168.1.1 …

Continue reading