Skip to content

Commit

Permalink
Merge pull request #36 from MWGMorningwood/patch-1
Browse files Browse the repository at this point in the history
Update NinjaRMM Integration Page
  • Loading branch information
Dakota-LM authored Oct 31, 2024
2 parents f453434 + 12bd920 commit 94112d4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ninjarmm-integration-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,17 @@ $DecodedCommand = [System.Text.Encoding]::UTF8.GetString($bytes)
# Execute Script Content
iex $DecodedCommand
Write-Host "Ephemeral Agent started"
```

Make a note of the script Id in the URL `https://{region}.ninjarmm.com/#/editor/script/71` -> 71. It will be needed as one of the parameters in the integration setup to run scripts.
Before leaving the script, also create a `Script Variable`.
1. Hit `+ Add` next to `Script Variables`.
2. Select the `String/Text` type.
3. Enter `Code` as the variable name.
4. Hit `Add` to save it.

Note the script Id in the URL `https://{region}.ninjarmm.com/#/editor/script/71` -> `71`.
It will be needed as one of the parameters in the integration setup to run scripts.

## In ImmyBot, create a new dynamic integration with the NinjaRMM integration type:
(`Show More` -> `Integrations` -> `Add Integration` -> `NinjaRMM`)
Expand Down

0 comments on commit 94112d4

Please sign in to comment.