January 2011 archive

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

CreateFileOrDir.vbs

‘========================================================================= ‘ CreateFileOrDir.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/1/2011 ‘ COMMENTS: Pass a File or Folder Path to the Sub and It Will Create the ‘ Full Path of the Directory Structure. ‘ EXAMPLE: Call CreateFileOrDir(“C:\Level 1\Level 2\test.txt”) ‘ Call CreateFileOrDir(“C:\Test\Folder\Structure”) ‘========================================================================= Option Explicit Call …

Continue reading

Logger.vbs

‘========================================================================= ‘ Logger.vbs ‘ VERSION: 1.0 ‘ AUTHOR: Brian Steinmeyer ‘ EMAIL: [email protected] ‘ WEB: https://sigkillit.com ‘ DATE: 1/1/2011 ‘ COMMENTS: Pass the Log Name, Message, and Whether It’s a New Log File ‘ to the Sub and It will Create or Append the Specified Log File in the Current ‘ Directory. The Log Name …

Continue reading