D2Exec

Execute the command and pack the output back to server

javascript · D2 (Deprecated)

Details

IDD2Exec
Languagejavascript
From Version5.0.0
Tagsagent endpoint

README

Executes the command and packs the output back to server.

Script Data


Name Description
Script Type javascript
Tags agent, endpoint

Inputs


Argument Name Description
cmd The system command to execute.

Outputs


There are no outputs for this script.

commonfields:
  id: D2Exec
  version: -1
name: D2Exec
script: ''
type: javascript
tags:
- agent
- endpoint
comment: Execute the command and pack the output back to server
system: true
args:
- name: cmd
  required: true
  default: true
  description: System command to execute
scripttarget: 1
dependson: {}
timeout: 0s
fromversion: 5.0.0
tests:
- no test