Script
In Script, you can create and run script files on connected remote devices to check device status or get bulk configuration information quickly.
To execute a script on a remote device:
- Go to Management > Script.
- (Optional) To create a new script, do the following:
- In the upper right, select Add Script.
- Enter a name and a description, and the CLI script content that you want to run. Each script is a series of CLI commands, one command per line. Click Submit.
- For the desired script, click the Deploy icon, and select a time to automatically deploy the script to the device.
- To cancel the scheduled run, click the Cancel icon next to the scheduled time.
- FortiGate Cloud records that script's output. You can read it by clicking View Result.
To download a deployment log:
- Go to Management > Script.
- Do one of the following:
- To download the log for a script's last successful deployment, click View Result for the desired script.
- To download the log for another deployment, click History. Beside the desired deployment instance, click Log.
- Click Download.