Computer and Software Support


Padmin

This page is from Microsoft

Updated: January 21, 2005

Administers phone books. Used without parameters, pbadmin starts Phone Book Administrator. This content is not available in this preliminary release.64 This content is not available in this preliminary release.x64
 
 
Syntax
pbadmin.exe /NPhoneBookName [/RRegionFilePath\RegionFileName] [/PDataFilePath\DataFileName]

pbadmin.exe /IPhoneBookName/RRegionFilePath\RegionFileName

pbadmin.exe /IPhoneBookName/PDataFilePath\DataFileName

pbadmin.exe /OPhoneBookName ServerName UserName Password

pbadmin.exe /BPhoneBookName

Parameters
/NPhoneBookName
Creates a phone book (.mdb). The PhoneBookName parameter specifies the name of the file to create.
/I PhoneBookName
Imports data into a phone book (.mdb) from a region (.txt) file or a phone book (.pbk or .txt) file. The PhoneBookName parameter specifies the phone book into which you want to import data. You must use the /R or the /P parameter in conjunction with the /I parameter.
/RRegionFilePath\RegionFileName
Specifies the location and the name of the region file you want to import into a phone book.
/PDataFilePath\DataFileName
Specifies the location and the name of the phone book file (.pbk or .txt) you want to import into a phone book.
/OPhoneBookName ServerName UserName Password
Configures options for a phone book. The PhoneBookName parameter specifies the name of the phone book for which you want to set options. The ServerName parameter specifies the name of the server to which the phone book is published. The UserName parameter specifies a user account with FTP permissions on the Phone Book Service (PBS) server. The Password parameter specifies the password for the user account on the PBS server.
/BPhoneBookName
Publishes a phone book. The PhoneBookName parameter specifies the name of the phone book to publish. Before you can use the /B parameter, you must configure the phone book with the /O parameter.
/?
Displays help at the command prompt.
Remarks
  • To create a phone book (.mdb), use this syntax:

    pbadmin.exe /NPhoneBookName [/RRegionFilePath\RegionFileName] [/PDataFilePath\DataFileName]

  • To import data into a phone book from a region file, use this syntax:

    pbadmin.exe /IPhoneBookName/RRegionFilePath\RegionFileName

  • To import data into a phone book from a phone book file (.pbk) or an appropriately formatted text file (.txt), use this syntax:

    pbadmin.exe /IPhoneBookName/PDataFilePath\DataFileName

  • To configure publishing options for a phone book, use this syntax:

    pbadmin.exe /OPhoneBookName ServerName UserName Password

  • To publish a phone book, use this syntax:

    pbadmin.exe /BPhoneBookName

  • For pbadmin, the term "phone book" refers to a phone book (.mdb), and the term "phone book file" refers to a phone book file (.pbk).
  • Command-line parameters are case-sensitive.
  • A phone book name cannot consist of more than eight characters, cannot consist of all digits, and must not contain a space or any of the following symbols: ! , ; * = / \ : ? ' " < > | . & % {} [] @ ( ) ´ ` ~
  • If you specify a path, you must specify the full path. You cannot use spaces in the path to the phone book, to a phone book file, or to a region file.
  • To use the pbadmin command, you must install Phone Book Administrator and then type the command from within the PBA directory. To install Phone Book Administrator, insert your Windows XP Professional or your Windows Server 2003 family installation CD into your CD-ROM drive, and click Browse this CD. Open the VALUEADD folder, open the MSFT folder, open the MGMT folder, and open the PBA folder. Double-click PBAINST, and follow the instructions on your screen.

Note

  • On a Windows Server 2003 SP1 CD, Phone Book Administrator is located in the SUPPORT folder. Open the SUPPORT folder on the CD, open the MSFT folder, open the MGMT folder, and open the PBA folder. Double-click PBAINST, and follow the instructions on your screen.
Examples
In the examples below, fictional data is used.

To create a phone book named Awesome, type:

pbadmin.exe /N Awesome

To import data into a phone book named Awesome from a region file named Region1.txt located in the C:\Temp directory, type:

pbadmin.exe /I Awesome /R C:\Temp\Region1.txt

To configure a phone book file with the name of Awesome, the server name of Rainier, the user name of jobrown, and the password of mypassword, type:

pbadmin.exe /O Awesome Rainier jobrown mypassword

To publish a phone book named Awesome, type:

pbadmin.exe /B Awesome

Formatting legend

Format Meaning
Italic Information that the user must supply
Bold Elements that the user must type exactly as shown
Ellipsis (...) Parameter that can be repeated several times in a command line
Between brackets ([]) Optional items
Between braces ({}); choices separated by pipe (|). Example: {even|odd} Set of choices from which the user must choose only one
Courier font Code or program output