Best Practices


  • If a command such as Wscript.echo is used several times in a script, be sure to run the script using Cscript.

  • Use Active Directory Users and Computers and ADSI Edit to discover the directory names of object attributes and to find out what possible attributes an object can contain.

  • Populate attributes using variables to save time when writing scripts that will create several user accounts.

  • Use a script to create users and also mail-enable those users.

  • Use Ldifde.exe and Csvde.exe for creating directory objects using clean formatted data presented in LDIF or CSV format.

  • Use WMI to access and manipulate server files and file security.




Microsoft Windows Server 2003 Unleashed(c) R2 Edition
Microsoft Windows Server 2003 Unleashed (R2 Edition)
ISBN: 0672328984
EAN: 2147483647
Year: 2006
Pages: 499

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net