Scripts – FortiManager 5.2

Clone a script

Cloning a script is useful when multiple scripts that are very similar.

To clone a script:

  1. Browse to the ADOM script list for the ADOM with the script you would like to clone.
  2. Select the script that you will be cloning, then right-click and select Clone from the menu.

The Clone Script dialog box will open, showing the exact same information as the original, except copy_ is appended to the script name.

Clone script dialog box
  1. Edit the script and its settings as needed and select OK to create the clone.

Delete a script

To delete a script or scripts from the script list, select a script from an ADOM’s script list, or select multiple scripts by holding down the control or Shift keys, right-click anywhere in the script list window, and select Delete from the menu. Select OK in the confirmation dialog box to complete the deletion or, if select Cancel to cancel the delete. Export a script

Scripts can be exported to text files on your local computer.

To export a script:

  1. Browse to the ADOM script list for the ADOM with the script you would like to export.
  2. Select the script that you will be exporting, then right-click and select Export from the menu.
  3. If prompted by your web browser, select a location to where save the file, or open the file without saving, then select OK.

Import a script

Scripts can be imported as text files from your local computer.

To import a script:

  1. Browse to the ADOM script list for the ADOM you will be importing the script to.
  2. Select Import from the toolbar. The Import dialog box opens.
Import script dialog box
  1. Type a name for the script you are importing.
  2. Type an optional comment for the script.
  3. Select the script target from the drop-down list.
  4. Select Browse and locate the file to be imported on your local computer.
  5. Select to add advanced device filters if required.
  6. Select OK to import the script.

If the script cannot be read, due to an incorrect file type or other issue, an error message will be displayed and the import process will be cancelled.


Having trouble configuring your Fortinet hardware or have some questions you need answered? Check Out The Fortinet Guru Youtube Channel! Want someone else to deal with it for you? Get some consulting from Fortinet GURU!

This entry was posted in Administration Guides, FortiManager and tagged , , on by .

About Mike

Michael Pruett, CISSP has a wide range of cyber-security and network engineering expertise. The plethora of vendors that resell hardware but have zero engineering knowledge resulting in the wrong hardware or configuration being deployed is a major pet peeve of Michael's. This site was started in an effort to spread information while providing the option of quality consulting services at a much lower price than Fortinet Professional Services. Owns PacketLlama.Com (Fortinet Hardware Sales) and Office Of The CISO, LLC (Cybersecurity consulting firm).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.