Deployment Solution
438
Tokens: Dynamic Database Access
Finding the Right Token Value
By default, all values for the custom tokens can be located using the computer ID
number that is automatically assigned to all computers when they are added to the
Deployment Server database. This ID number is located in the computer_ID column of
its associated table.
The computer ID number can be viewed from a Deployment Server console by right-
clicking a computer and then selecting
Properties > General
. After the computer ID
number has been located, the associated column value can be used.
The example below shows a Deployment Server Job using the
Run Script Task
, which
will extract information from the Deployment database using the alias name of FS2.
Script
echo This computer has
%#FS2*"SELECT ram_free from hardware
where computer_id = 5000001"% MB of free RAM
%NICyPCIFUNCTIONNUMBER% PCI Function number for NIC y. Example: the PCI
Function number for the third NIC would be
%NIC
3
PCIFUNCTIONNUMBER%.
%NICyUSEDHCP%
If you use DHCP, the valid values are Yes or No.
%NICyUSEWINS%
If you use WINS, the valid values are Yes or No.
%NODEFULL%
Complete computer name
%NODENAME%
First 8 characters of actual computer name
%NWCONTEXT%
NetWare context name
%NWSERVER%
NetWare preferred server
%NWTREE%
NetWare preferred tree
%OS%
Specific operating system (WIN98, WIN2K, WINXP)
%OSTYPE%
Operating system type (WIN9x, WINNT, Linux)
%PHONE%
Phone defined in the
Location
properties
%PROCDESC%
Description of the processor
%PROCSPEED%
Processor Speed
%PROCCOUNT%
The number of processors installed (not the number of
processor slots)
%PROD_LIC%
Product License Key
%PROCTYPE%
Processor Type
%RAMTOTAL%
Total Random Access Memory
%SERIALNUM%
Serial number from SMBIOS
%SITE%
Site description defined in the
Location
properties
%TIME%
Time string in the form of hour:minutes
%USER_NAME%
The
Registered To
user name that can be viewed on
the System Properties page of Windows.
%UUID%
The Universally Unique Identifier (UUID) of the
computer, if supported by hardware.
Token Description
Содержание ALTIRIS DEPLOYMENT SOLUTION 6.9 SP4 - V1.0
Страница 1: ...Altiris Deployment Solution 6 9 SP4 from Symantec Admin Guide ...
Страница 40: ...Deployment Solution 40 What is Automation z Which Automation Operating System Should I Use page 44 ...
Страница 144: ...Altiris Deployment Solution from Symantec User s Guide 144 ...
Страница 371: ...Altiris Deployment Solution from Symantec User s Guide 371 ...