|
Guy recommends :
Find out which of your VMs are a waste of space and which VMs need more resources.
|
VBScript - Create MailboxesCreating mailboxes with a VBScriptTwo ways of creating users with mailboxesThere are two possible strategies, create users from scratch, or add mailbox attributes to existing accounts. See here for updated information VBScript create mailboxes Strategy 1Create a new user complete with mailbox. Build the complete user object from scratch, the result will be a mail-enabled user account. For strategy 1, most of the work is done by CSVDE and Excel. Create a spreadsheet and put the LDAP fields in the top row. Part a) In addition to the usual LDAP fields: dn, sAMAccountName, sn, givenName you need 5 extra Exchange mailbox fields. Mail specific LDAP attributesmsExchHomeServerName mailnickname homeMDB mDBUseDefaults Import your spreadsheet with CSVDE -i -filename.csv -k Part b) Once the user has been created, then you need to set the password and activate the account. See script below. ' Set Password.vbs Strategy 2Strategy 2 Involves adding mailbox attributes to a user that already exists, but is NOT mail-enabled. Such a user may have been imported from NT 4.0 by an Active Directory Connection agreement. It is not easy building a VBScript which will add the necessary tabs in Active Directory Users and computers. However, my ebook covers all the methods, and commands necessary to convert the user to a mailbox-enabled status. Moreover, the ebook is dedicated to teaching more of the syntax, methods and commands to make you expert at VBScript.
Guy Recommends: Solarwinds' Free Bulk Mailbox Import Tool
|
||||
Custom Search
|
Guy Recommends: WMI Monitor and It's Free!
|
|
Home Copyright © 1999-2012 Computer Performance LTD All rights reserved Please report a broken link, or an error. | |