On ZCM 10.2, i have to move clients agent from one zone to another.
I created a script for unre/reg but now i'm searching for a env var or a tool like zac or a registry key to get the actual zone of the agent.
The goal is to add a conditionnal arg in my script to not having the script running in each reboot even if the zone was correctly upgraded.