Skip to main content
Create and Run Command
Updated over a week ago

This guide will walk you through the process of creating and deploying a custom command using Swif.

Step 1:

Start by navigating to 'Devices Commands' and then click on 'Create new command'.

Step 2:

You can name your command in the new window, paste the script, and select a timeout. The timeout function terminates the process after a certain number of seconds to prevent it from getting stuck in an endless loop. By default, you are creating a command template so the command won't be executed right away. You can enable it by toggling "Command Status" or later on the Command page to run the command on all devices or per device.


You can also run the command from Swif admin. By default, it will run from the logged-in user.

Once you've filled in these details, click 'Continue'.
โ€‹
โ€‹

Step 3:

Next, you will be prompted to select the individual devices or specific groups of devices to which you want to apply this command. For instance, you can choose devices that are actively used by engineers. After selecting the devices, review the previous steps to ensure everything is correct.

Image

Step 4:

To confirm the new command deployment, click on 'Finish'.

That's it! You have successfully created and deployed a custom command. Thank you for following along.

Step 5:

On the Command page, you can run the command on all devices or per device.

Step 6:

You can then see the execution reports in the command center.

Did this answer your question?