Skip to main content
Polybius
New Member
February 7, 2024
Question

Move Groups via Script

  • February 7, 2024
  • 3 replies
  • 1307 views

Does anybody know if there is a way to move a computer to a new group through a script after FortiEDR is installed? We have a main image for deployment that we want to include the collector in and then move it to the group once the OU is determined. We also have a ton of existing installations that we would like to organize into groups the same way.

3 replies

Stephen_G
Staff & Editor
Staff & Editor
February 11, 2024

Hello Polybius,


Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Thanks,

Stephen_G - Fortinet Community Team
Stephen_G
Staff & Editor
Staff & Editor
February 14, 2024

Hello Polybius,

 

Great question. We don't think this is possible, but as far as I know, as we haven't tested it.

 

Additionally, I'm afraid we don't fully understand your request: if you know the device name and the OU, can you not move it there from the management console?

Stephen_G - Fortinet Community Team
CKD
Visitor III
October 25, 2024

As far as I know, you don't need to move groups via script. (If I got question right)
You can request install package with group selected 
Administration > Licensing > Request Collector Installer

for example request 1 install package for server group,

Screenshot 2024-10-25 at 15.56.30.png

after you download you can name it setup servers_agent for instance.
once you install agent on servers, their collectors will directly get assigned to servers group on management console

same for clients etc I have 5 different installer package for 5 different groups

Ceyhun Kıvanç Demir

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!