Specifications

ShoreWare Server Release Notes Active Directory
ShoreTel 9.1 Page 71
The following command line executes the AD to CSV file import:
cscript ldaptocsv.vbs outputCSVfile LDAPpath [modifiedInLastN#OfDays]
where
outputCSVfile specifies the name of the output file
LDAPpath specifies the path to the AD database
[modifiedInLastN#OfDays]
The resulting CSV file can be modified though a spreadsheet program to customize user
settings for import to the ShoreTel database.
Importing the CSV File
DBImport.exe is a executable file that imports CSV contents to the ShoreTel database that
was introduced in a previous ShoreWare release and described in the ShoreTel
Administrator Guide.
To support AD record imports, the following fields are supported by DBImport.exe:
LDAP-User flag: indicates that the user settings were imported from an AD database.
LDAP-GUID: a data field that creates an association between an LDAP record and the
corresponding ShoreTel record.
LDAP-DomainName: specifies the name of the user’s domain network.
The following command line imports CSV file records to the ShoreTel database.
Dbimport -log DbLog.log -err DbErr.err <inputCSVfile>