SQL Server Magazine March 2003

    Options
Automating DNS Setup for New Web Sites
Setting up a new Web site can be challenging. This script makes the process easier by automating DNS setup and configuration for IIS Web sites.
  Subscribe
Renew
Master CD
Change Mailing Address
Customer Service
Back Issues
Article Reprints
Group Discounts

Browse Archived Articles By: Issue | Author | Subject | Department |



[Feature]

Automating DNS with Scripting

Discover a handy script that can help you automate your DNS configuration the next time you set up a Web site.

Event-Log Auditing, Part 2

Use this script to generate logon and logoff reports for a particular user for a specified time interval.

Querying and Updating AD, Part 2

Using the Net::LDAP methods, you can add, delete, modify, rename, and move objects in AD.




[Reader to Reader]

Delete Files by Age

This script deletes log files older than 30 days.

Determine a Files Age

Use WSH to determine the age of a file.

Edit Remote Registry Entries

This script lets you query, add, or change remote registry entries.

Prevent Multiple Application Instance Launching

Run this script to prevent users from running multiple instances of applications and degrading system performance.




[Rem]

Rem: Checking a WSH Script’s Syntax Without Running the Script

You can easily perform a quick syntax check by inserting one simple command at the top of your WSH script.

Rem: Enabling the WMI Provider in Windows Server 2003

If your WMI script works on XP or Win2K but not Windows Server 2003, the problem might lie with the WMI Windows Installer Provider. Here’s how to fix that problem.

Rem: Prompting Users to Reenter Their Password

Here’s how to have a script ask users to reenter their password in the event they initially enter their password incorrectly.