Use Atera Site name as a script variable

saviof
saviof Member Posts: 1

Hi, I am trying to figure out a way to get the site name associated with a device when running a script.

Example:

If I have a device name "X490" associated with a Atera site "Zeta1"
When running a automation script on X490, i was to auto populate a script variable with the name "Zeta1"