[GH-ISSUE #48] Feature Request: Script Arguments #1960

Closed
opened 2026-03-14 01:50:44 +03:00 by kerem · 3 comments
Owner

Originally created by @bradhawkins85 on GitHub (Aug 17, 2020).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/48

Originally assigned to: @wh1te909 on GitHub.

Related to Feature Request #47 it would be great to be able to pass variables to scripts at runtime when either selecting Run Now or having them execute on a schedule.

Originally created by @bradhawkins85 on GitHub (Aug 17, 2020). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/48 Originally assigned to: @wh1te909 on GitHub. Related to Feature Request #47 it would be great to be able to pass variables to scripts at runtime when either selecting Run Now or having them execute on a schedule.
kerem 2026-03-14 01:50:44 +03:00
Author
Owner

@wh1te909 commented on GitHub (Aug 30, 2020):

this is implemented in 48e5fc6758 only for ad-hoc scripts from the agent's context menu (right click agent > Run Script). Will be available for script checks and tasks when I release the next agent.

<!-- gh-comment-id:683402892 --> @wh1te909 commented on GitHub (Aug 30, 2020): this is implemented in 48e5fc6758ae037ffb9656f34b7061d7d6a0f378 only for ad-hoc scripts from the agent's context menu (right click agent > Run Script). Will be available for script checks and tasks when I release the next agent.
Author
Owner

@bradhawkins85 commented on GitHub (Aug 31, 2020):

I've done some testing today and a basic batch script with arguments is working as expected.

The script:
choco install %1 -y

Will advise once I have tested more scripts if there are any issues, but so far looking good.

<!-- gh-comment-id:683558240 --> @bradhawkins85 commented on GitHub (Aug 31, 2020): I've done some testing today and a basic batch script with arguments is working as expected. The script: choco install %1 -y Will advise once I have tested more scripts if there are any issues, but so far looking good.
Author
Owner

@wh1te909 commented on GitHub (Sep 13, 2020):

this has been fully implemented including checks / tasks. needs agent 0.11.0 which I just released

<!-- gh-comment-id:691667646 --> @wh1te909 commented on GitHub (Sep 13, 2020): this has been fully implemented including checks / tasks. needs agent 0.11.0 which I just released
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#1960
No description provided.