Sample script for advanced settings

Script1.ini
[Directory]
DirectoryComputerName= #DIRECTORY#
SiteName = #SITE#
[Mailbox]
DistinguishedName = #MAILBOX#
[Folder]
Name = mailboxroot
Enabled = #1#

The special values #DIRECTORY#, #SITE#, and #MAILBOX# are automatically replaced by the properties Directory, Site, and MailboxDN set on the object.

Table: Special values

Special value

Object property name

#DIRECTORY#

Directory

#INDEXINGSERVICE#

IndexingService

#LDAPQUERY#

LDAPQuery

#MAILBOX#

MailboxDN

#RETENTIONCATEGORY#

RetentionCategory

#SITE#

Site

#VAULTSTORE#

VaultStore

The value #1# is replaced by the first item in the ArrayOfParameters array passed into the SetScriptFile or SetScriptText method. If more items are added to the array, the values #2#, #3#, and so on are replaced.