Does anyone have a batch file script to auto enrole the agent into a security group from installation?
I've been trying using a script like below the agent installs on the machine fine but does not auto enrole into the security group.
agent.exe /s /v"MANAGEMENT_SERVER=<server ip> AGENT_PORT=PORT_NUMBER SSL_CERT_FILE=C:\agent-cert.ssl AGENT_SECURITY_GROUP=<security group name> -l*v+! C:\agent-install.log /qn"