Symprex Folder Permissions Manager, v6.2.0

The Export Command

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

/P=<profile>

Specifies the profile to logon to Exchange Server.

/U=<user>

Specifies the user to logon to Exchange Server.

/S=<server>

Specifies the Exchange Server; this switch is optional and if omitted, the appropriate server will be automatically detected.

/ROH

Logon to Exchange Server using RPC-over-HTTP/HTTPS.

/PWD=<password>

Specifies the password for the logon to Exchange Server.

/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.

/MB=<path>

Specifies the path to the mailbox to be exported, for example:

/MB="Global Address List\Adam James".

/AL=<path>

Specifies the path to the address list to be exported, for example:

/AL="All Address Lists\Sales Team".

/DL=<path>

Specifies the path to the distribution list to be exported, for example:

/DL="All Address Lists\All Groups\Support Team".

/PF=<path>

Specifies the path to the Public Folder to be exported, for example:

/PF="Public Folders\All Public Folders".

/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, separated by semi-colons (;).

 

IMPORTANT: In order for the e-mail to be sent, the user specified by the /U argument 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 Support Team distribution list to an XML file, the following command could be used:            

 

fpmcmd.exe export /U=Administrator /EF="C:\Exports\Support Team.xml" /DL="All Address Lists\All Groups\Support Team"

 

Logon to Exchange Server

 

The Export command does not export delegates and therefore, does not use Exchange Web Services (EWS). Hence, the following should be noted:

 

When a profile is specified (using the /P switch), it is not necessary to specify the /U and /PWD switches.
When TCP or HTTPS logon is used, the account specified by the /U and /PWD switches should have the appropriate MAPI permissions.

 

Note For further information about the required permissions, please refer to the Permissions Requirements chapter.

 


Copyright © 2014 Symprex Limited. All Rights Reserved.