The Automox Agent uses PowerShell scripts to execute most of it's functions including scanning and patching.
These scripts execute form a fixed directory on the local device. By default this is set to the following locations:
Mac: /Library/Application Support/amagent/
If you would prefer these actions run from a different default path, that can be set using an agent command on the device (--setexecdir)
C:\Program Files (x86)\Automox\amagent.exe' --setexecdir C:\MyPath\MyDir
/usr/bin/local/amagent --setexecdir /MyPath/MyDir
/opt/amagent/amagent --setexecdir /MyPath/MyDir
The next time the Automox Agent service is restarted it will use the newly specified location for running it's scripts.
Some endpoint security applications block scripts that don't originate from a designated location. So the most common reason to modify this setting is to move it to a whitelisted or preferred directory for your security software.