Deployment and Imaging Group

 View Only
  • 1.  tokens / variables in GSS 3.0

    Posted Jan 08, 2016 09:10 AM

    Hi I am trying to use the variable "%ALTIRIS_PXE_SERVER%"  in GSS 3.0 and its not working , does anyone have any idea how to get this working also how to get the full list of tokens in GSS that are available to use?

     

    Thanks



  • 2.  RE: tokens / variables in GSS 3.0

    Trusted Advisor
    Posted Jan 08, 2016 09:46 AM

    Hi Skhs,

    Do you mean the environmental variables available within WinPE? 

    If so, when the PE is booted, typing the command "SET" will show you the list of environmental variables available to use, for example one of these is: ALTIRIS_PXE_SERVER.

    Thanks



  • 3.  RE: tokens / variables in GSS 3.0

    Trusted Advisor
    Posted Jan 23, 2016 05:17 AM

    In an early incarnation of GSS3, the %ALTIRIS_PXE_IP% variable was not being set when automation loaded. Currently, we're on HF4 and I can say it's certainly set correctly here.

    Here is a dump  of other environment variables which I can see that have been set in WinPE from a PXE boot off a GSS3 HF4  box,

    ALTIRIS_BDC=BDC6.9.9754.462
    ALTIRIS_BOOTDEVICE=PXE
    ALTIRIS_BOOTDISK=X:
    ALTIRIS_BOOTTYPE=AUTOMATION
    ALTIRIS_DS_SERVER=GSS3
    ALTIRIS_DS_SHARE=eXpress
    ALTIRIS_PREBOOT=WINPE
    ALTIRIS_PREBOOT2=winpe5
    ALTIRIS_PREBOOT_ID=WINPE5_X86
    ALTIRIS_PREBOOT_NAME=Windows PE 5.X
    ALTIRIS_PREBOOT_NAME2=WinPE 5.X
    ALTIRIS_PREBOOT_SUBSUBTYPE=WINPE5X
    ALTIRIS_PREBOOT_SUBTYPE=WINPE5
    ALTIRIS_PREBOOT_UID=WINPE5X_X86
    ALTIRIS_PROCESSOR=x86
    ALTIRIS_PXE_BOOTPATH=MenuOption131\x86pc
    ALTIRIS_PXE_CLIENTMAC=000C29D72DF7
    ALTIRIS_PXE_CLIENTMAC_=00-0C-29-D7-2D-F7
    ALTIRIS_PXE_ID=131
    ALTIRIS_PXE_IP=192.168.152.128
    ALTIRIS_PXE_OID=131
    ALTIRIS_PXE_RID=131
    ALTIRIS_PXE_SERVER=GSS3
    ALTIRIS_SHARE=M:
    ALTIRIS_SHARE_=M
    ALTIRIS_UNC=\\GSS3\eXpress
    ALTIRIS_VER=DS6.9

    HF4 also has a lot of other useful fixes too, so I recommend the upgrade.

    For database tokens, here's a list from the DS6.9 Admin Guide (which should apply equally well to GSS3).

    Token Description
    %NICyPCIFUNCTIONNUMBER%  PCI Function number for NIC y. Example: the PCI Function number for the third NIC would be %NIC3PCIFUNCTIONNUMBER%
    %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
    %IPNAME%  Full DNS name of the computer
    %JOBNAME%  The name of the current job.
    %JOBUSER%  The name of the user logged on to the Deployment console
    %LDAPDOMAINOU%  The LDAP format for AD domains. Example:dc=MyCompany, dc=com, OU=MyParentOU,OU=MyOU
    %MAILSTOP%  Mail stop from the Location properties
    %MANUF%  Computer manufacturer from SMBIOS
    %NAME%  Complete computer name as it appears in the console
    %NETBIOSDOMAIN%  The NetBios name for the Microsoft Domain
    %NICyIPADDR%  IP Address for NIC y (y = 1-8). Example: the first NIC would be %NIC1IPADDR%I , second
    %NIC2IPADDR% 
    %NICyIPDNSx%  DNS entry x for NIC y. Example: the second NIC fourth DNS entry would be %NIC2IPDNS4%
    %NICyIPDNSALL%  All DNS IP addresses for NIC y. Example: All DNS entries for the second NIC would be
    %NIC2IPDNSALL%.  
    %NICyIPGATEWAY%  Default gateway for NIC y (y = 1-8). Example: the first NIC would be %NIC1IPGATEWAY%, second
    %NIC2IPGATEWAY% 
    %NICyIPHOST%  IP HOst for NIC y (y = 1-8). Example: the first NIC would be %NIC1IPHOST%; the second would be
    %NIC2IPHOST%.  
    %NICyIPNETMASK%  Netmask for NIC y. Example: the first NIC would be
    %NIC1IPNETMASK%, second  
    %NIC2IPNETMASK% 
    %NICyIPWINSx%  WINS entry x for NIC y. Example: the third NIC first
    WINS entry would be %NIC3IPDNS1%  
    %NICyIPWINSALL%  All WINS addresses for NIC y. Example: All WINS entries for the second NIC would be
    %NIC2IPWINSALL%.  
    %NICyMACADDR%  MAC for NIC y (y = 1-8). Example: the first NIC would be %NIC1MACADDR%,
    second%NIC2MACADDR% 
    %NICyNETBIOSOPTIONS%  NetBios options for NIC y. Example: the NetBios options for the third NIC would be
    %NIC3NETBIOSOPTIONS%.  
    %NICyPCIBUSNUMBER%  PCI Bus number for NIC y. Example: the PCI Bus number for the second NIC would be/
    %NIC2PCIBUSNUMBER%.  
    %NICyPCIDEVICENUMBER%  PCI Device number for NIC y. Example: the PCI Device number for the fourth NIC would be
    %NIC4PCIDEVICENUMBER%.  
    %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.

    Hope that helps!