MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

System Script → Get All

AI-generated

Summary

Fetches all system scripts from the MikroTik router via /system/script/print.

Inputs

None.

Output shape

array

Each item contains { resource, operation, count, data } where data is the array of script objects returned from the router. Keys may be cleaned per the cleanKeys setting.

Examples

Example 1: Default get all scripts

Leave all options at defaults; operation returns every system script on the device.

Example 2: Tagged get all with key cleaning

Set tag to a custom number and enable cleanKeys; scripts returned with hyphens and forward slashes replaced by underscores in key names, and a .tag= parameter appended to the command.

Links

Discussion