Skip to content

Commit

Permalink
Update scripts guide
Browse files Browse the repository at this point in the history
  • Loading branch information
dantecatalfamo committed Jan 23, 2025
1 parent f249cd6 commit aced5a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions articles/scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

In Fleet you can run custom scripts to remediate an issue on your macOS, Windows, and Linux hosts.

Shell scripts are supported on macOS and Linux. By default, shell scripts will run in the host's (root) shell (`/bin/sh`). We also support `/bin/zsh` interpreter.
Note: To run in `/bin/zsh`, create `.sh` file (only supported extension) and add an interpreter at the first line.
Shell scripts are supported on macOS and Linux. By default, shell scripts will run in the host's (root) shell (`/bin/sh`). We also support `/bin/zsh` and `/bin/bash` interpreters.
Note: To run in `/bin/zsh` or `/bin/bash`, create `.sh` file (only supported extension) and add an interpreter at the first line.

PowerShell scripts are supported on Windows. Other types of scripts are not supported yet.

Expand Down Expand Up @@ -32,7 +32,7 @@ Fleet UI:
2. Head to the **Hosts** page and select the host you want to run the script on.

3. On your target host's host details page, select the **Actions** dropdown and select **Run Script** to view the **Run Script** menu.

4. In the **Run Script** menu, select the **Actions** dropdown for the script you'd like to execute and choose the **Run** option.

Scripts run from the Fleet UI will run the next time your host checks in with Fleet. You can view the status of the script execution as well as the output in the target host's activity feed.
Expand Down

0 comments on commit aced5a5

Please sign in to comment.