Logon Scripts

Guy recommends :
Free SolarWinds
VM Console

Solarwinds VM Console Free Download

Find out which of your VMs are a waste of space and which VMs need more resources.


 

Scripting - Home

The place of scripting

In Windows Server 2003 and to a lesser extent in Windows 2003, scripting is a vital skill for those of us who look after the network.

 

For the curious there are 5 secrets to mastering scripting.

  1. How to write VBScript or JScript
  2. The role of WSH
  3. The models used by ADSI and WMI
  4. LDAP attributes and syntax
  5. When to use which built in commands to use CSVDE, LDIFDE or CSCript.

How to learn scripting

In listening to network administrators or techies, I discovered that they learn by finding other people's scripts and modifying them!

This scripting section has lots of scripts, feel free to copy, change the odd variable then run on your server.

  1. Map network drives with Logon Scripts
  2. Bulk import of users - CSVDE and LDIFDE
  3. Generate users with WSH
  4. Create and modify users with DSadd and DSmod

Index of Windows Server 2003 Scripting

a) Logon Scripts

b) CSVDE & LDIFDE - Key differences

c) WSH - Explained

Guy Recommends:  SolarWinds' Free Bulk Import ToolFree Download Bulk Import Tool

Import users from a spreadsheet.  Just provide a list of the users with their fields in the top row, and save as .csv file.  Then launch this FREE utility and match your fields with AD's attributes, click and import the users.  Optionally, you can provide the name of the OU where the new accounts will be born.

There are also two bonus tools in the free download, and all 3 have been approved by Microsoft:

  1. Bulk-import new users into Active Directory.
  2. Seek and zap unwanted user accounts.
  3. Find inactive computers.

Download your FREE bulk import tool.

d) DS Commands - New scripting tools for Windows Server 2003

 


See Also

 *


Custom Search

Site Home

Guy Recommends: WMI Monitor and It's Free!Solarwinds WMI Monitor

Windows Management Instrumentation (WMI) is one of the hidden treasures of Microsoft operating systems.

Fortunately, SolarWinds have created the Free WMI Monitor so that you can actually see and understand these gems of performance information.  Take the guess work out of which WMI counters to use for applications like Microsoft Active Directory, SQL or Exchange Server.

Download your free copy of WMI Monitor

Author: Guy Thomas Copyright © 1999-2012 Computer Performance LTD All rights reserved.

Please report a broken link, or an error to: