Archive for the ‘Scripts and Templates’ Category
As promised, here are zip files for my Techmentor NYC sessions. The slides are presented as PDFs. You'll also find a variety of demo scripts.…   More »
WinConnections Orlando 2008 PowerShell Demos
Friday, May 9th, 2008 by Jeffery Hicks
These are my conference demos from WinConnections Orlando 2008. My sessions were all on PowerShell: Managing Active Directory with PowerShell Managing Servers and Desktops with…   More »
Writing an LDAP Search Filter
Thursday, April 10th, 2008 by Don Jones
http://confluence.atlassian.com/display/DEV/How+to+write+a+LDAP+search+filter is a great article on writing LDAP search filters.…   More »
Custom Objects Example
Wednesday, April 9th, 2008 by Don Jones
We've long been advocates of outputting objects, rather than text, and of keeping individual functions very single-task-specific. Here's an ultimate example of these two philosophies:…   More »
Target a list of names
Friday, February 15th, 2008 by Essentials Administrator
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 »
Targeting Active Directory objects (users, computers, etc)
Friday, February 15th, 2008 by Essentials Administrator
Here's a great example of how to do something to every user, computer, or other object in the directory. This enumerates through every object, recursing…   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 »
Running command-line tools
Friday, February 15th, 2008 by Essentials Administrator
These examples show how to run command-line tools from within a VBScript, capturing the tool's output. ' ' ScriptingAnswers.com Essentials - by Don Jones '…   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 »










