Set or edit phone book options by command line

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

To set or edit phone book options 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 phone book file name, and then a server name or address, user name, and password to set or edit those options for the phone book:

    Pbadmin.exe /O*[phone_book_name][server_name][user_name][password]*

    For example, if you want to set options for a phone book with the name of Awesome, using a server name of Rainier, a user name of jobrown, and a password of Tr6f23nN, you type:

    Pbadmin.exe /O Awesome Rainier jobrown Tr6f23nN

    Command-line parameters are case-sensitive.

  4. Press ENTER.

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.

  • 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

Add a new phone book by command line
Administer phone books
Connection Point Services Troubleshooting
Pbadmin