Hardware Inventory Report Tokens
The Update Hardware Inventory operations can be used to generate pre-formatted Vector AM reports. These reports are able to replace tokens in a report template. You can use this to create a comma-delimited file for import into other applications, such as Microsoft Excel.
Some tokens can be combined with text to access to a specific item. For example, they can be used to access $ENV_SYS_TEMP and other environment variables.
Examples The Console kit includes an example report definition file, called SAMPLE.FMT, and an example database export definition file, called SAMPLE_EXPORT.FMT.
Client Platform Dependency Several tokens are specific to Windows NT, 2000, XP and 2003 Clients, and no value is displayed when the selected Client uses another operating system. Items which are platform-specific are identified with the supported platforms in [square brackets], such as [NT] for Windows NT, 2000, XP and 2003; and [3x] for Windows 3.1 and Windows for Workgroups , or [9x] for Windows 95, 98 and Me.
Text File Formatting To create a delimited text file for data import, use a character that is not used in a tokenized string, such as a vertical bar ( | ) or semi-colon ( ; ). All tokens must be specified in UPPER CASE.
File Naming Tokens can be used in the report file name. For example, $NODE.RPT creates a unique report file for each PC.
The following table lists the tokens you can use in Hardware Inventory reports:
Token |
Description |
Example |
$BIOS_DATE |
System BIOS Date |
09/16/97 |
$BIOS_VERSION |
System BIOS Vendor/Version [3x,NT] |
PhoenixBIOS 4.0 Release 6.0 |
$BIOS_VIDEODATE |
Video BIOS Date [NT] |
08/26/97 |
$BIOS_VIDEOVER |
Video BIOS Vendor/Version [NT] |
STB Velocity 128 (Riva 128) Ver.1.70 |
$BOOTDRIVE |
System Boot Device |
C |
$BUS_NUMPCI |
Number of PCI Bus Devices [9x] |
10 |
$BUS_NUMSCSI |
Number of SCSI Bus Devices [NT,9x] |
2 |
PCI Device 0 through n [9x] |
IRQ Holder for PCI Steering | |
SCSI Device 0 through n Address [NT,9x] |
Port 0, Bus 0, Target Id 0, LUN 0 | |
SCSI Device 0 through n Name [NT,9x] |
Maxtor 86480D6 NAVX | |
SCSI Device 0 through n Type [NT,9x] |
DiskPeripheral | |
$CD_INSTALLED |
CD Driver Installed |
TRUE |
$CD_VERMAJOR |
CD Driver Major Version |
2 |
$CD_VERMINOR |
CD Driver Minor Version |
21 |
$CD_VERSION |
CD Driver Version |
2.21 |
$CPUMAKE |
Processor Manufacturer |
GenuineIntel |
$CPUMHZ |
Processor Speed (MHz) |
266 |
$CPUTYPE |
Processor Type |
Pentium II |
$CPU_COPROMAKE |
CoProcessor Manufacturer |
Internal |
$CPU_COUNT |
Processor Count [NT] |
1 |
$CPU_MAKE |
Processor Manufacturer |
GenuineIntel |
$CPU_MHZ |
Processor Speed (MHz) |
266 |
$CPU_MMX |
Processor MMX Support |
TRUE |
$CPU_TYPE |
Processor Type |
Pentium II |
$DATE |
Inventory Capture Date |
2-January-1999 |
$DDMMYY |
Inventory Capture Date |
02/01/99 |
$DEPARTMENT |
User-Prompted Department |
ENGINEERING |
DOS-Level Device Driver 0 through n |
NUL,00A7:0048,0DCC | |
$DEV_NTDRIVERn |
Windows NT Device Driver 0 through n [NT] |
Abiosdsk,Stopped |
$DEV_NUMDRIVERS |
Number of DOS-Level Device Drivers |
14 |
$DEV_NUMNTDRIVERS |
Number of Windows NT Device Drivers [NT] |
120 |
Redirected Disk (Drive Letter x) |
\\AXP\PCUSER | |
$DISK_BOOTDRIVE |
System Boot Device |
C |
Drive d Bytes Per Sector |
512 | |
Drive d File System Name |
FAT | |
Drive d Free Space (MB) |
216 | |
Drive d Fixed/Removable |
Fixed | |
Drive d Sectors per Cluster |
64 | |
Drive d Serial Number |
D845-2F2F | |
Drive d Size (MB) |
2047 | |
Drive d State (Logical, etc) |
L..... | |
Drive d Volume Label |
SB_C | |
$DISK_FLOPPYA |
Floppy A: Capacity |
1.44MB |
$DISK_FLOPPYB |
Floppy B: Capacity |
None |
$DISK_LASTDISK |
DOS LASTDRIVE Setting |
F |
$DISK_NUMLOGDISKS |
Number of Logical Disks |
8 |
$DISP_CURRENTMODE |
Display Current Mode Number |
3 |
$DISP_DRIVER |
Display Driver |
STB Systems, Inc. Velocity 128 3D (NVidia RIVA 128) |
$DISP_DRIVERFILE |
Display Driver File |
pcdvga.drv |
$DISP_INITIALMODE |
Display Initial Mode Number |
0 |
$DISP_MONITORTYPE |
Display Monitor Type |
Plug and Play Monitor |
$DISP_NUMCOLOURS |
Display Color Resolution |
256 |
$DISP_PREPCDDRIVER |
Pre-Remote Control Display Driver [3x] |
S3FLAT.DRV |
$DISP_REFRESHHZ |
Display Refresh Rate (Hz) [NT] |
85 |
$DISP_RES_X |
Display X-Resolution |
1024 |
$DISP_RES_Y |
Display Y-Resolution |
768 |
$DISP_TYPE |
Display Type |
VGA |
$DISP_VIDEODAC |
Display Video DAC Type [NT] |
Integrated RAMDAC |
$DISP_VIDEOMEMKB |
Display Video Memory [NT] |
4096 |
$DOSVERMAJOR |
DOS-Level Major Version |
4 |
$DOSVERMINOR |
DOS-Level Minor Version |
0 |
$DOSVERSION |
DOS-Level Version |
4.0 |
$DOS_BUFFERS |
DOS BUFFERS Setting |
10 |
$DOS_CODEPAGE |
Code Page |
850 |
$DOS_COUNTRYCODE |
Country Code |
44 |
$DOS_DEFCODEPAGE |
Default Code Page |
437 |
$DOS_DISKCACHE |
Disk Cache |
|
$DOS_DISKCOMPRESS |
Disk Compression |
|
$DOS_FCBS |
DOS-Level FCBS Setting |
4 |
$DOS_FILES |
DOS-Level FILES Setting |
20 |
$DOS_OEM |
DOS OEM |
Windows NTW |
$DOS_SYSPROG_DOSINHMA |
DOS-Level DOS in HMA Flag |
TRUE |
$DOS_SYSPROG_DPMI |
DOS-Level DPMI Driver Loaded |
TRUE |
$DOS_SYSPROG_HIMEM |
DOS-Level HIMEM Driver Loaded |
TRUE |
$DOS_SYSPROG_KEYB |
DOS-Level KEYB Driver Loaded |
TRUE |
$DOS_SYSPROG_MSCDEX |
DOS-Level MSCDEX Driver Loaded |
TRUE |
$DOS_SYSPROG_SETVER |
DOS-Level SETVER Driver Loaded |
TRUE |
$DOS_SYSPROG_SHARE |
DOS-Level SHARE Driver Loaded |
TRUE |
$DOS_SYSPROG_XMS |
DOS-Level XMS Driver Loaded |
TRUE |
$DOS_VERMAJOR |
DOS-Level Major Version |
4 |
$DOS_VERMINOR |
DOS-Level Minor Version |
0 |
$DOS_VERSION |
DOS-Level Version |
4.0 |
$ENV_NUMSYSTEM |
Number of System Environment Variables |
14 |
$ENV_NUMUSER |
Number of User Environment Variables [NT] |
8 |
$ENV_SYS_aaa |
System Environment Variable aaa |
xxx |
$ENV_SYS_COMSPEC |
Example System Environment Variable |
%SystemRoot%\system32\cmd.exe |
$ENV_SYS_OS |
Example System Environment Variable |
Windows_NT |
$ENV_SYS_WINDIR |
Example System Environment Variable |
%SystemRoot% |
$ENV_USER_aaa |
User Environment Variable aaa [NT] |
xxx |
$ENV_USER_TEMP |
Example User Environment Variable [NT] |
%SystemDrive%\TEMP |
$ENV_USER_TMP |
Example User Environment Variable [NT] |
%SystemDrive%\TEMP |
$FREERAM |
Free Memory Below 640K (Bytes) |
560000 |
$FREERAMKB |
Free Memory Below 640K (KB) |
546 |
Interrupt Vector 0 through n |
Timer,0925:0244 | |
$LASTDRIVE |
DOS LASTDRIVE Setting |
F |
$LOCATION |
User-Prompted Location |
Upstairs |
Memory Map Block 0 through n |
070D,2608,COMMAND,Program | |
$MEM_EMSVERMAJOR |
EMS Major Version |
4 |
$MEM_EMSVERMINOR |
EMS Minor Version |
0 |
$MEM_EMSVERSION |
EMS Version |
4.0 |
$MEM_EXPRAMFREEKB |
Expanded Memory (EMS) Free (KB) |
16760832 |
$MEM_EXPRAMKB |
Expanded Memory (EMS) Total (KB) |
16777216 |
$MEM_EXTRAMFREEKB |
Extended Memory (XMS) Free (KB) |
0 |
$MEM_EXTRAMKB |
Extended Memory (XMS) Total (KB) |
17408 |
$MEM_LARGESTEXE |
Largest Program Below 640K (Bytes) |
560000 |
$MEM_RAMBYTES |
Real Mode RAM Total (Bytes) |
655360 |
$MEM_RAMBYTESFREE |
Real Mode RAM Free (Bytes) |
561232 |
$MEM_RAMFREEKB |
Real Mode RAM Free (KB) |
548 |
$MEM_RAMKB |
Real Mode RAM Total (KB) |
640 |
$MEM_TOTALBYTES |
Physical RAM Total (Bytes) |
67108864 |
$MEM_TOTALKB |
Physical RAM Total (KB) |
65536 |
$MMDDYY |
Inventory Capture Date |
01/02/99 |
Multimedia MCI Device 0 through n |
MIDI Input,ESS AudioDrive MIDI port Input | |
Multimedia Driver 0 through n |
AVIVideo,Video for Windows | |
$MM_NUMDEVICES |
Number of Multimedia Devices |
4 |
$MM_NUMDRIVERS |
Number of Multimedia Drivers |
4 |
$MOU_BUTTONS |
DOS-Level Mouse Driver Buttons |
0 |
$MOU_INSTALLED |
DOS-Level Mouse Driver Loaded |
FALSE |
$MOU_IRQ |
DOS-Level Mouse Driver IRQ |
0 |
$MOU_OEM |
Mouse Driver OEM |
Microsoft, or IBM PS/2 |
$MOU_VERMAJOR |
DOS-Level Mouse Driver Major Version |
0 |
$MOU_VERMINOR |
DOS-Level Mouse Driver Minor Version |
0 |
$MOU_VERSION |
DOS-Level Mouse Driver Version |
0.0 |
$MOU_WINDRV |
Windows Mouse Driver Name |
Microsoft, or IBM PS/2 |
$MOU_WINDRVFILE |
Windows Mouse Driver File |
mouse.drv |
Network Client Name 0 through n |
SB | |
Network Card 0 through n |
DEC PCI Ethernet DECchip 21041,90.0.0.19 | |
$NET_DEFGATEWAY |
TCP/IP Default Gateway |
90.0.0.50 |
$NET_DHCPSERVERS |
TCP/IP DHCP Server List |
90.0.0.50 |
$NET_DISK_NUMREDIRS |
Number of Redirected Disk Drives |
2 |
$NET_DISK_NUMSHARES |
Number of Shared Disk Drives |
13 |
Redirected Drive 0 through n |
U:,\\AXP\PCUSER | |
Shared Drive 0 through n |
C:\Vector Data, Vector AM Administrative Share | |
$NET_DNSSERVERS |
TCP/IP DNS Server List |
90.0.0.50 |
$NET_DOMAIN |
Windows Networking Domain Name |
ENGINEERING |
$NET_FILESHARING |
Windows File Sharing Enabled Flag |
1 |
The network card, IP address, Subnet mask, MAC address and network speed of the Client |
| |
The IP address, Subnet mask, MAC address and network speed of the Client |
| |
The primary IP Address of the Client on a TCP/IP network |
192.168.31.1 | |
Media Access Control Address of the Client |
00-50-56-C0-00-08 | |
Network card name |
PCI Ethernet Adapter | |
The speed at which the network card is running |
10000 Kb/s | |
Hardware network subnet mask |
255.255.255.0 | |
$NET_IPADDRESS |
TCP/IP Primary IP Address |
90.0.0.19 |
$NET_IPXADDRESS |
NetWare Network Address |
00000000:AA0004001304 |
$NET_MACADDRESS |
Network Hardware MAC Address [NT,9x] |
AA0004001304 |
$NET_NBTBROADCAST |
NetBIOS Over TCP/IP Broadcast Mask |
|
$NET_NBTNAMESCOPE |
NetBIOS Over TCP/IP Name Scope |
|
$NET_NODE |
Primary Network Client Name |
SB |
$NET_NUMADDR |
Number of Network Addresses |
1 |
$NET_NUMNETCARDS |
Number of Network Cards |
1 |
$NET_NUMSESSION |
Number of Network Session Layers |
5 |
$NET_OEM |
DOS-Level Network Stack OEM |
Digital |
$NET_PRINTSHARING |
Windows Printer Sharing Flag |
1 |
$NET_SERVERENABLED |
Windows Server Enabled Flag |
1 |
Network Session Layer 0 through n |
NetBIOS,254.00,AA0004001304,1.19 | |
$NET_TRANSPORTS |
Network Transports |
TCPNETBIOS, NETBEUI, DECNETBIOS, NWLINKNETBIOS |
$NET_VERSION |
DOS-Level Network Stack Version |
|
$NET_WINSERVERS |
TCP/IP WINS Server List |
90.0.0.50 |
Windows NT DMA Channel 0 through n [NT] |
2,0,Floppy,ISA,0 | |
Windows NT I/O Port 0 through n [NT] |
01CE,01CF,VgaSave,PCI,0 | |
Windows NT IRQ 0 through n [NT] |
9,9,DC21X4,00000000,0,PCI | |
Windows NT I/O Memory Block 0 through n [NT] |
000A0000,000BFFFF,VgaSave,PCI,0 | |
$NT_NUMDMA |
Number of Windows NT DMA Channels [NT] |
1 |
$NT_NUMIOPORTS |
Number of Windows NT I/O Ports [NT] |
26 |
$NT_NUMIRQS |
Number of Windows NT IRQs [NT] |
58 |
$NT_NUMMEM |
Number of Windows NT I/O Memory Blocks [NT] |
1 |
$OWNER |
User-Prompted Owner |
Stephen Briggs |
$PCMAKE |
PC Manufacturer BIOS ID |
fc0100 |
$PCMODEL |
PC Model (Commonly Blank) |
Celebris GL6200 |
$PCTYPE |
Generic PC Category |
AT-Clone |
$PC_MAKE |
PC Manufacturer BIOS ID |
fc0100 |
$PC_MODEL |
PC Model (Commonly Blank) |
Celebris GL6200 |
$PC_TYPE |
Generic PC Category |
AT-Clone |
COM Port 1 through n Address |
3F8 | |
COM Port 1 through n UART Type |
16450 | |
Printer Port 1 through n Address |
3BC | |
$PORT_NUMPARALLEL |
Number of Printer Ports |
2 |
$PORT_NUMSERIAL |
Number of Serial Ports |
1 |
$PRN_DEFPRINTER |
Windows Default Printer |
\\axp\print_2up |
$PRN_DEFPRINTERDRIVER |
Windows Default Printer Driver |
winspool |
$PRN_DEFPRINTERPORT |
Windows Default Printer Port |
Ne04: |
$PRN_NUMPRINTERS |
Number of Windows Printers |
9 |
Windows Printer 0 through n |
\\axp\laser,\\AXP\LASER,Digital LN17ps,Portrait Duplex on Short Side ,2-sided, 1-up, | |
$PROMPT_aaa |
User Prompted aaa Key |
xxx |
$PROMPT_SYS_DEPARTMENT |
User Prompted $DEPARTMENT |
ENGINEERING |
$PROMPT_SYS_LOCATION |
User Prompted $LOCATION |
Upstairs |
$PROMPT_SYS_OWNER |
User Prompted $OWNER |
Stephen Briggs |
$PROMPT_SYS_TELNUMBER |
User Prompted $TELNUMBER |
105 |
$PROMPT_SYS_USERNAME |
User Prompted $USERNAME |
SB |
$PROMPT_Y2K |
User-Prompted Year 2000 Example |
1: 2000 supported |
$RAM |
Real Mode RAM Total (Bytes) |
655360 |
$RAMKB |
Real Mode RAM Total (KB) |
640 |
System ROM 1 through n |
Video,C000,32 | |
$ROM_NUMROMS |
Number of System ROMs |
3 |
$SMS_CLIENTID |
Microsoft SMS Client ID |
0001 |
$SMS_ISVMIFPATH |
Microsoft SMS ISV MIF Path |
\\ntsrv\sms\mifs |
$SMS_LOGONSERVER |
Microsoft SMS Logon Server |
ntsrv |
$SMS_LOGONSHARE |
Microsoft SMS Logon Share |
smsusr |
$SRV_NUMSERVICES |
Number of Windows NT Services |
28 |
Windows NT Service 0 through n |
Alerter,Stopped | |
$SYS_AUTOEXECNTSIZE |
AUTOEXEC.NT File Size [NT] |
532 |
$SYS_AUTOEXECNTTIME |
AUTOEXEC.NT File Date [NT] |
12/04/98 20:59:14 |
$SYS_AUTOEXECSIZE |
AUTOEXEC.BAT File Size |
1022 |
$SYS_AUTOEXECTIME |
AUTOEXEC.BAT File Date |
12/22/98 17:35:08 |
$SYS_CONFIGNTSIZE |
CONFIG.NT File Date [NT] |
2432 |
$SYS_CONFIGNTTIME |
CONFIG.NT File Size [NT] |
12/10/97 13:52:54 |
$SYS_CONFIGSIZE |
CONFIG.SYS File Size |
693 |
$SYS_CONFIGTIME |
CONFIG.SYS File Date |
12/22/98 16:01:32 |
$SYS_SYSTEMINISIZE |
SYSTEM.INI File Size |
400 |
$SYS_SYSTEMINITIME |
SYSTEM.INI File Date |
12/11/98 15:54:24 |
$SYS_WININISIZE |
WIN.INI File Size |
778 |
$SYS_WININITIME |
WIN.INI File Date |
12/21/98 15:18:02 |
$TELEXTN |
User-Prompted $TELEXTN |
|
$TELNUMBER |
User-Prompted $TELNUMBER |
105 |
$TIME |
Inventory Capture Time |
15:10 |
$TOTALRAM |
Physical Memory Total (Bytes) |
67108864 |
$TOTALRAMKB |
Physical Memory Total (KB) |
65536 |
$USERNAME |
User-Prompted $USERNAME |
SB |
$USERVAL(Y2K) |
User-Prompted Y2K Example |
1: 2000 supported |
$WIN_BUILDINFO |
Windows Build Information [NT,9x] |
build 1381, Service Pack 3 |
$WIN_DIRECTORY |
Windows Install Directory |
C:\WINNT |
$WIN_DNETHEAPSIZE |
DECnet Heap Size (KB) [9x,3x] |
16 |
$WIN_EMMEXCLUDE |
Windows EMM Exclude Range [9x,3x] |
d000-d2ff |
$WIN_FREEGDI |
Windows Free GDI Resources (%) [9x,3x] |
77 |
$WIN_FREESYS |
Windows Free System Resources (%) [9x,3x] |
77 |
$WIN_FREEUSER |
Windows Free User Resources (%) [9x,3x] |
80 |
$WIN_KBDRIVER |
Windows Keyboard Driver |
keyboard.drv |
$WIN_KBTYPE |
Windows Keyboard Type |
Enhanced 101 or 102 key US and Non US keyboards |
$WIN_MODEMMODEL |
Modem Make/Model [NT,9x] |
Hayes Hayes Optima 288 V.34 + FAX |
$WIN_MODEMPORT |
Modem Port [NT,9x] |
COM2 |
$WIN_NETHEAPSIZE |
NetHeapSize (KB) [9x,3x] |
80 |
$WIN_NTSERIALNO |
Windows NT Serial Number [NT] |
20195OEM000251695789 |
$WIN_PERMSWAPDRIVE |
Windows Permanent Swap Drive [3x] |
|
$WIN_PERMSWAPKB |
Windows Permanent Swap File Size [3x] |
0 |
$WIN_PLATFORM |
Windows Platform |
Windows NTW |
$WIN_SERVERTSR |
Vector AM SERVER TSR Compatible |
0 |
$WIN_TIMERCRITSEC |
TimerCriticalSection (mS) [9x,3x] |
0 |
$WIN_TIMEZONE |
Windows Time Zone [NT,9x] |
GMT |
$WIN_USERNAME |
Logged-On Username |
sb |
$WIN_VERMAJOR |
Windows Major Version |
4 |
$WIN_VERMINOR |
Windows Minor Version |
0 |
$WIN_VERSION |
Windows Version |
4.0 |
$WSNAME |
Workstation Name (Client Name) |
SB |
$YYMMDD |
Inventory Capture Date |
99/01/30 |
Notes
TOKEN(n)
or TOKENn Tokens indexed with an n select items from an array, where n must be
an integer of 0 or greater. Note that some tokens use brackets and others don't. For example: $LPTREDIR(1),
$NET_CARD0.
TOKEN(x)
or TOKENx Tokens indexed with an x select items from an array, where x can be numeric
in the range 1 to 32, or alphabetic in the range A to Z. Note that some tokens use brackets and others
don't.
USERVAL(key)
and PROMPT_key and ENV_USER_key and ENV_SYS_key User-Prompted information items and System and User
environment variable values can be extracted using this mechanism. For example, the User-Prompted database
key $DEPARTMENT can be retrieved with:
$USERVAL($DEPARTMENT) which is equivalent to: $PROMPT_SYS_DEPARTMENT
A user-defined value PROJECT could be retrieved by: $USERVAL(PROJECT) or $PROMPT_PROJECT
A System environment variable WINDIR could be retrieved by: $ENV_SYS_WINDIR