Administers phone books. Used without parameters, pbadmin starts Phone Book Administrator.
pbadmin.exe /N PhoneBookName [/R RegionFilePath\RegionFileName] [/P DataFilePath\DataFileName]
pbadmin.exe /I PhoneBookName /R RegionFilePath\RegionFileName
pbadmin.exe /I PhoneBookName /P DataFilePath\DataFileName
pbadmin.exe /O PhoneBookName ServerName UserName Password
pbadmin.exe /B PhoneBookName
/N PhoneBookName : 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.
/R RegionFilePath\RegionFileName : Specifies the location and the name of the region file you want to import into a phone book.
/P DataFilePath\DataFileName : Specifies the location and the name of the phone book file (.pbk or .txt) you want to import into a phone book.
/O PhoneBookName 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.
/B PhoneBookName : 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.
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