mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #48] Feature Request: Script Arguments #1960
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#1960
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@wh1te909 commented on GitHub (Aug 30, 2020):
this is implemented in
48e5fc6758only 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.@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.
@wh1te909 commented on GitHub (Sep 13, 2020):
this has been fully implemented including checks / tasks. needs agent 0.11.0 which I just released