Posts Tagged ‘VBScript Scripts’
If you have a file with one name per line - be they user names, or more commonly computer names, this script will read them…   More »
Sending keystrokes to applications
Friday, February 15th, 2008 by Essentials Administrator
The last-resort way of automating anything using VBScript is to launch a GUI application and just send keystrokes (but not mouse movement or clicks -…   More »
Enumerating a hierarchy (like files and folders)
Friday, February 15th, 2008 by Essentials Administrator
This example uses files and folders, but really any hierarchy - such as Active Directory - uses the same technique. You'll want to really read…   More »
A VBScript Debug Window
Friday, February 15th, 2008 by Essentials Administrator
This is one of my favorite tricks for debugging. Rather than adding MsgBox() calls to display variables' contents, I write them to a separate IE…   More »
Automating Internet Explorer
Friday, February 15th, 2008 by Essentials Administrator
This quick example shows how to automate Internet Explorer. In this example, I just pop up IE and navigate to a particular page, and then…   More »
Alternate Credentials - ADSI and WMI
Friday, February 15th, 2008 by Essentials Administrator
Here's an example of using alternate credentials to connect to either WMI or ADSI. Note that WMI doesn't allow alternate credentials if you're connecting to…   More »
Checking for group membership
Friday, February 15th, 2008 by Essentials Administrator
Here's a script that demonstrates how to check for group membership from within VBScript. http://www.rlmueller.net/IsMember8.htm…   More »
ADUC GUI to ADSI Mappings
Friday, February 15th, 2008 by Essentials Administrator
Although ADSI Scripting: TFM has a more complete cross-reference, this one's online and free: It shows the basic dialog boxes for AD Users & Computers,…   More »










