[GH-ISSUE #1484] Feature Request: Add language version to scripting system #925

Open
opened 2026-03-02 02:19:59 +03:00 by kerem · 0 comments
Owner

Originally created by @NiceGuyIT on GitHub (Apr 15, 2023).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1484

Is your feature request related to a problem? Please describe.
Some languages interpret the entire file before executing, and thus will fail if the script uses something in a later version of the language. Because of this, the script cannot detect if it's compatible and produce a friendly error message. Instead, it just errors out.

Describe the solution you'd like
It would be nice if the Tactical scripting system had a field that represents the minimum language version the script supports. For example, if a script uses PowerShell 7, then Tactical should generate an suitable error message when the script is run on a system that doesn't have PowerShell 7.

Describe alternatives you've considered
Some languages can't use conditionals to "use" keywords implemented in a later version of the language.

Additional context
Related to issue #1470.

Originally created by @NiceGuyIT on GitHub (Apr 15, 2023). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1484 **Is your feature request related to a problem? Please describe.** Some languages interpret the entire file before executing, and thus will fail if the script uses something in a later version of the language. Because of this, the script cannot detect if it's compatible and produce a friendly error message. Instead, it just errors out. **Describe the solution you'd like** It would be nice if the Tactical scripting system had a field that represents the minimum language version the script supports. For example, if a script uses PowerShell 7, then Tactical should generate an suitable error message when the script is run on a system that doesn't have PowerShell 7. **Describe alternatives you've considered** Some languages can't use conditionals to "use" keywords implemented in a later version of the language. **Additional context** Related to issue #1470.
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#925
No description provided.