mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
Added support for pre-defined scripts.
This commit is contained in:
@@ -243,6 +243,31 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"PreconfiguredScripts": [
|
||||
{
|
||||
"name": "Run NotePad as user",
|
||||
"file": "scripts/notepad.bat",
|
||||
"type": "bat",
|
||||
"runas": "user"
|
||||
},
|
||||
{
|
||||
"name": "Run NotePad as agent",
|
||||
"cmd": "notepad.exe",
|
||||
"type": "bat",
|
||||
"runas": "agent"
|
||||
},
|
||||
{
|
||||
"name": "Run echo",
|
||||
"cmd": "echo \"hello world\"",
|
||||
"type": "sh",
|
||||
"runas": "agent"
|
||||
},
|
||||
{
|
||||
"name": "Agent Update",
|
||||
"cmd": "agentupdate",
|
||||
"type": "agent"
|
||||
}
|
||||
],
|
||||
"PreconfiguredRemoteInput": [
|
||||
{
|
||||
"name": "CompanyUrl",
|
||||
|
||||
Reference in New Issue
Block a user