NOTE:For compatibility with traditional ZENworks, the system variable can also be specified in one of the following formats:
%system_variable%
For example, %MONTH%
%*system_variable%
For example, %*MONTH%
${system_variable}
For example, ${MONTH}
The following table lists the supported login script special system variables:
Table 13-2 Supported Login Script Special System Variables
Macro |
Description |
---|---|
${COMPUTER_NAME} |
The name of the computer. For example: work_pc. |
${DAY} |
Numeric day of the month. For example: 01, 10, 15. |
${HOUR24} |
Time of the day according to a 24-hour clock. For example: 02, 05, 14, 22. |
${HOUR} |
Hour of the day. For example: 0 = 12, 13 = 1. |
${LAST_NAME} |
Last name of the current user (also known as the user’s eDirectory Surname attribute). For example: Jones. |
${MINUTE} |
Current minute. For example: 02, 59. |
${MONTH} |
Current month number. For example: 01 for January. |
${NDAY_OF_WEEK} |
Numeric day of the week. For example: 1 for Sunday, 2 for Monday. |
${NETWORK} |
Workstation network address. For example: 101.10.101.101 |
${OS_VERSION} |
Version of the OS. For example: v5.00. |
${OS} |
OS type. For example: MSDOS, WIN98, WINNT, WIN2000, WINXP. |
${PLATFORM} |
Platform running. For example: WIN32NT. |
${PHYSICAL_STATION} |
MAC address. For example: 0000C04FD92ECA. |
${SECOND} |
Number of seconds. For example: 03, 54. |
${SHORT_YEAR} |
Short year number. For example: 97, 00. |
${WINVER} |
Windows version. For example: v3.11, v4.00. |
${YEAR} |
Full year number. For example: 2008. |