Skip to main content
Polybius
New Member
Feb 7, 2024 9:56 PM UTC
Question

Move Groups via Script

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
Feb 11, 2024 3:46 PM UTC

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
Feb 14, 2024 11:48 AM UTC

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
Oct 25, 2024 1:05 PM UTC

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. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT