This script demonstrates the use of DS objects to create a logical unit of work. The script creates a user and performs the following tasks associated with that user:
Sets the user properties
Creates a home directory for the user on the current computer's d-drive
Sets the home directory for the user
Gives the Domain Administrator full control on the user's directory
Adds the user to the group EAST COAST
Saves the information into an Excel spreadsheet d:\record.xls
Writes the output to the file "d:\record.xls"
This script should be run through the VB debugger.