Managing the Address Book Server from the Command Line

Microsoft Office Communications Server 2007 and Microsoft Office Communications Server 2007 R2 will reach end of support on January 9, 2018. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

You can manage the Address Book Server by running ABServer.exe from a command prompt. You can modify the environment path system variable to include the location of ABServer.exe (%programfiles%\Microsoft Office Communications Server 2007\Server\Core), or you can run the tool directly from the Office Communications Server Address Book directory.

Table 6 shows valid command switches and arguments.

Table 6. ABServer.exe Command Switches and Arguments

Command Switch Arguments Description



Displays all command switches for ABServer.exe.



Manually synchronizes the Address Book Server by pausing the service to perform synchronization and then restarting the service. If you are in a failover scenario and failing over from one server to another and syncNow does not work, check the load-balancer settings. The health monitor for incoming port 135 should point to 5060 (or 5061) on the servers. By default, it will point to 135 on the servers and since 135 is always up when the computer is running the server remains marked as being up even though Office Communications Server Front End service is down.



Forces user replication regeneration.

-dumpFile input-file [output-file]

Input-file [output-file]

Dumps the input file given as the first argument, formatted as text, to the output file given as the second argument. If the second argument is not given, the output file name defaults to the same path and file name as the input file with a .txt extension appended.



Loads the normalization rules text file and attempts to normalize the phone number arguments. The results are displayed in the command-line shell. If the phone number argument contains spaces, the phone number must be enclosed in quotation marks (" ").






Displays all rules currently in effect, including generic and custom rules.