Functionality
The command registers operation management target PC information to use PC operation management function.
Command format
dtpamtent.exe | /s|/g /f File Name [/e Error File Name] |
Option
Specify the registered, updated or output information of operation management target PC.
/s: register, update
/g: output
While registering and updating (/s), specify the name of file to be registered and updated, and while outputting (/g), specify the name of file to be output. Specify the file name with absolute path, and when the path contains space, enclose all paths in quotes (""). In addition, apart from quotes, the maximum string is 128 fullwidth characters or 256 halfwidth characters.
For the file format, refer to "2.6 Defined File for Operation Management Target PC Information".
Specify the name of error file that outputs error information. When registering and updating (/s), this option cannot be omitted. In addition, this option is not required during output and will be invalid while specifying. Specify the error file with absolute path, and when the path contains space, enclose all paths in quotes (""). In addition, apart from quotes, the maximum string is 128 fullwidth characters or 256 halfwidth characters.
Return value
0: ended normally
Other than 0: ended abnormally
Command saving location
The following folder in CS:
CS Installation Directory \bnserv\bin |
Authority required for execution/executing environment
Execute by using user with Administrator authority.
This command must be executed on CS.
Cautions
The recorded contents in the input file will be registered as operation management target PC information only. The increment information cannot be registered. Record all operation management target PC information in the input file and register them.
When the format is violation (user ID, number of characters for PC name, character type), the registration will fail (not registered, update one line). At this moment, the violation lines will be output to error file.
Command execution example
When registering and updating
The following represents the definition example of command.
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\BNServ\bin\dtpamtent.exe" /s /fC:\tmp\amt.csv /eC:\tmp\amterror.csv |
The following represents the output example of error file.
"10.xx.xxx.11","admin","AMTPW","UserID11*","PC11" "10.xx.xxx.12","admin","AMTPW","UserID12","PC12*" "10.xx.xxx.13","admin","AMTPW","%UserID13","PC13" |
When outputting
The following represents the definition example of command.
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\BNServ\bin\dtpamtent.exe" /g /fC:\tmp\amt.csv |
The following represents the output example of error file.
03/30/2007 12:00:00 "10.xx.xxx.1","admin","","UserID1","PC1" |
Note: the password will be output as blank character.
When the processing failed, a message indicating failure will be output. Refer to "3.3.11 Messages Output in Registration Command of Operation Management Target PC Information" for details.