Category Archives: VBscript

Active Directory Last Logon Time

This script retreives the LastLogon Active Directory attribute for a user and returns the date in human readable format. Note the script takes the users CN rather than samid or UPN, which in some cases can be different. If Wscript.Arguments.Count … Continue reading

Posted in VBscript | Leave a comment

Retrieve your Active Directory Site information

Feed: Scriptorlog Posted on: Monday, February 08, 2010 6:41 AM Author: iRobx Subject: Retrieve your Active Directory Site information This script will show what domain and site you are in: Set objNet = CreateObject("WScript.Network") strComputer = objNet.ComputerName StrDomain = objnet.UserDomain … Continue reading

Posted in VBscript | Leave a comment

The ultimate Windows 2003 Active Directory Password Aging Report

Feed: Scriptorlog Posted on: Tuesday, January 08, 2008 10:09 AM Author: iRobx Subject: The ultimate Windows 2003 Active Directory Password Aging Report This script pulls together a number of scripts that I have that calculate password aging to create a … Continue reading

Posted in VBscript | Leave a comment

vmtop.vbs: Vmware Virtual Infrastructure 3 MSSQL query script

Feed: Scriptorlog Posted on: Thursday, May 31, 2007 9:26 AM Author: iRobx Subject: vmtop.vbs: Vmware Virtual Infrastructure 3 MSSQL query script This script will return performance stats for a vm by querying the Virtual Center SQL database. Const adOpenStatic = … Continue reading

Posted in VBscript | Leave a comment

ADSI Distinguished Name Lookup using LDAP Filter

Feed: Scriptorlog Posted on: Wednesday, January 03, 2007 2:34 PM Author: iRobx Subject: ADSI Distinguished Name Lookup using LDAP Filter This script is a nice example of how to use an LDAP filter with AD. Also, it is an extremely … Continue reading

Posted in VBscript | Leave a comment

FTP autoban script for IIS

Feed: Scriptorlog Posted on: Tuesday, January 02, 2007 9:48 AM Author: iRobx Subject: FTP autoban script for IIS I host an FTP server using IIS on my home network. One thing that I found extremely annoying was constant probing by … Continue reading

Posted in NT Shell Scripts, VBscript | Leave a comment