User guide

ExtremeWare EPICenter Software Installation and User Guide B-5
Inventory Export Scripts
For example, to export device information to file devinfo.csv, enter the following
commands at the prompt:
cd epc3_1\user\scripts\bin
inv.bat -o devinfo.csv
slots.bat <options> exports slot information from the EPICenter database.
For example, to run the command as user“user1,” and export slot information to file
slotinfo.csv, enter the command:
cd epc3_1\user\scripts\bin
slots.bat -u user1 -o slotinfo.csv
msinv.bat <options> exports device informationfrom the databases of multiple
EPICenter servers. You must provide a list of EPICenter servers in a file.
For example,the following command exports deviceinformationfromthe databasesof
EPICenter servers listed in file servers.txt (in the
scripts\config directory) to file
alldevinfo.csv, without prompting for a password:
cd epc3_1\user\scripts\bin
msinv.bat -d -o alldevinfo.csv -s ..\config\servers.txt
Theserverfile defaultsto the file servers.txt in the user\scripts\config directory.
You can edit this file to include the names or IP addresses of the servers where the
EPICenter server and databases are running. You can also provide your own file. The
format of the file entries are:
<servername or IP>:<port>
For example:
iceberg:80
10.2.3.4:81
Table B-2 specifies the options you can use with these commands:
Table B-2: Inventory script command options
Option Value Default
-d None
If present, the command will use the default
EPICenter password (“”) and will not prompt
for a password.
If -p option not present, prompts
for password
-o Name of file to receive output. If you dont
specify a path, the file will be placed in the
current directory (user\scripts\bin).
output written to console (stdout)