Freigeben über


Add a new phone book by command line

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To add a new phone book by command line

  1. Open Command prompt.

  2. At the command prompt, type the following:

    cd \Program Files\PBA

  3. At the command prompt, type the following, using the appropriate file name for the new phone book:

    Pbadmin.exe /N*[phone_book_name]*

    A phone book name must contain no more than eight characters, cannot consist of all digits, and must not contain a space or any of the following symbols: ! , ; * = / \ : ? ' " < > | . & % {} [] @ ( ) ´ ` ~

    For example, if you want to create a phone book with the name of Awesome, you type:

    Pbadmin.exe /N Awesome

    Command-line parameters are case-sensitive.

  4. Press ENTER to add your new phone book to the database.

Important

  • If you intend to administer PBA from the command line, do not use spaces in the path to pbadmin.exe or in the path to the phone book files.

Notes

  • You must be logged on as a member of the Administrators or the Power Users group to complete this procedure. If your computer is connected to a network, network policy settings might also prevent you from completing this procedure.

  • To open the command prompt window, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • If you are creating a customized phone book for use with a Connection Manager profile, the phone book name must match the one you typed in the Phone Book pane in the Connection Manager Administration Kit Wizard.

  • For more information about the pbadmin command, type pbadmin /? at the command prompt, or see pbadmin in Related Topics.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Set or edit phone book options by command line
Administer phone books
Connection Point Services Troubleshooting
Pbadmin