|
This command of the command line utility exports an address list, distribution list, mailbox or Public Folder. To view help for this command, start a command line prompt and type the following:
fpmcmd.exe help export
The command supports the following switches:
Switch
|
Description
|
/FMT=<file format>
|
Specifies the format of the exported file; supported formats are 'XML' and 'CSV'. If the format switch is omitted, the format is determines from the extension of the export file.
|
/EF=<export path>
|
Specifies the full path to the export file.
|
/DN=<path>
|
Specifies the distinguished name of the object to be exported, for example:
/DN="CN=Adam Smith,OU=Users,DC=simprex,DC=local"
|
/MB=<path>
|
Specifies the path to the mailbox to be exported, relative to the Address Book node in the tree in the main application window; for example:
/MB="All Address Lists\All Users\Adam Smith"
|
/AL=<path>
|
Specifies the path to the address list to be exported, relative to the Address Book node in the tree in the main application window; for example:
/AL="All Address Lists\All Users\Account Managers"
|
/DL=<path>
|
Specifies the path to the distribution list to be exported, relative to the Address Book node in the tree in the main application window; for example:
/DL="All Address Lists\All Distribution Lists\Board of Directors"
|
/PF=<path>
|
Specifies the path to the Public Folder to be exported, relative to the All Public Folders node in the tree in the main application window; , for example:
/PF="Public Documents\Shared Documents"
|
/PFS=[On|Off]
|
Specifies the source Exchange platform for exporting Public Folders (only required when your Exchange environment has multiple Exchange platforms); On=export from On-Premises Exchange, Off=Export from Off-Premises Exchange (Office 365 or Hosted Exhange).
|
/IC[=Yes/No]
|
Specifies if children of the specified object being exported should be included. For address lists and distribution lists, this will include any mailboxes in child lists of the list (default is No). For Public Folders, this will include child folders of the folder (default is Yes). For mailboxes, this switch has no effect and is ignored.
|
/LOGFILE=<log>
|
Specifies the output log file. If no directory is included, the file is written to the application directory. The name of the file can include the #date# and #time# tokens, which will be replaced by the current date (in the format YYYYMMDD) and time (in the format HHMMSS) respectively. Notice any existing file will be overwritten.
|
/MAILTO=<mailTo>
|
Specifies the distribution list for sending the log file. The /LOGFILE switch must be specified for the log to be generated. The list must comprise a set of valid e-mail address, each separated by a semi-colon (;).
Important: In order for the e-mail to be sent, the current user must be present in the Global Address List.
|
/SMTPSVR=<server>
|
Specifies the SMTP for sending the distribution list. If not specified, the local machine is used.
|
/SMTPPORT=<port>
|
Specifies the SMTP port for sending the distribution list. If not specified, the default port for sending SMTP e-mails is used.
|
For example, to export the "Board of Directors" distribution list to an XML file, the following command could be used:
fpmcmd.exe export /EF="C:\Exports\Support Team.xml" /DL="All Address Lists\All Distribution Lists\Board of Directors"
|