Fortinet white logo
Fortinet white logo

Administration Guide

Export a script

Export a script

CLI and Tcl scripts can be exported to text files on your local computer.

While FortiManager supports exporting both CLI and Tcl scripts, only CLI scripts can be re-imported using the FortiManager GUI. To import Tcl scripts, you must do so using the CLI. See Importing Tcl scripts.

To export a script:
  1. Go to Device Manager > Scripts, or Policy & Objects > Object Configuration > Advanced > Scripts if you are in the Global Database ADOM.
  2. Right-click a script, and select Export Script.
  3. If prompted by your web browser, select a location to where save the file, or open the file without saving, then click OK.

Export a script

Export a script

CLI and Tcl scripts can be exported to text files on your local computer.

While FortiManager supports exporting both CLI and Tcl scripts, only CLI scripts can be re-imported using the FortiManager GUI. To import Tcl scripts, you must do so using the CLI. See Importing Tcl scripts.

To export a script:
  1. Go to Device Manager > Scripts, or Policy & Objects > Object Configuration > Advanced > Scripts if you are in the Global Database ADOM.
  2. Right-click a script, and select Export Script.
  3. If prompted by your web browser, select a location to where save the file, or open the file without saving, then click OK.