Kaseya Community

Reference a variable that is unique to each client

  • I'm looking for creative ideas on how to write a single script that references a variable that is unique to each client.

    I have a script to install McAfee that goes like this:

    vssetup.exe /vb /ck=438290483904832905123 /email=%computername%

    The ck (customer key, the above key is fake BTW) is unique for each client.

    How would you handle this?

    Thanks and regards,

    Legacy Forum Name: Reference a variable that is unique to each client,
    Legacy Posted By Username: djmundy
  • Hello djmundy,
    You can perform this with Managed Variables. These variables are all referenced by one name ex: but hold a different value per MachineGroup. You can set this up in the "Manage Variable" section. Below is a screen shot of what i mean in K2 (same functionality in Kaseya5).



    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: djennings
  • Thanks Daryl, works a charm!

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: djmundy