Keys | Description |
task_details | A JSON object that contains the details of the task. |
activity_name | Name of the activity performed in the PowerShell Engine module. |
exec_path (optional) | Executable path of the installed powershell in the remote Windows machine. |
host_ip | Address of Windows machine where the activity has to be performed. |
credential | A JSON object that contains credentials of the machine in which the powershell script has to be executed. |
name | Name of the machine credential. |
task_name | A system-defined name for the respective modules. 'pwsh_task' is the task name for PowerShell Engine. |
Request data
{ "task_details": { "activity_name": "start_service", "exec_path": "<PATH OF EXECUTABLE FILE>", "host_ip": "<HOST_NAME>", "script_name": "<name of the script file>" }, "credential": { "name": "<CREDENTIAL_NAME>"
}, "task_name": "pwsh_task" }
Request data
{ "task_details": { "activity_name": "install_app", "exec_path": "<PATH OF EXECUTABLE FILE>",
"host_ip": "<HOST_NAME>",
"file_path": "<PATH FOR THE APP TO BE INSTALLED> ", "msi_file_name": "<NAME OF THE MSI FILE>" }, "credential": { "name": "<CREDENTIAL_NAME>"
}, "task_name": "pwsh_task" }
Request data
{ "task_details": { "activity_name": "uninstall_app", "exec_path": "<PATH OF EXECUTABLE FILE>",
"host_ip": "<HOST_NAME>",
"app_name": "<APPLICATION_NAME>" }, "credential": { "name": "<CREDENTIAL_NAME>"
}, "task_name": "pwsh_task" }
Request data
{ "task_details": { "activity_name": "start_service", "exec_path": "<PATH OF EXECUTABLE FILE>",
"host_ip": "<HOST_NAME>",
"service_name": "<NAME OF THE SERVICE>" }, "credential": { "name": "<CREDENTIAL_NAME>"
}, "task_name": "pwsh_task" }
Request data
{ "task_details": { "activity_name": "stop_service", "exec_path": "<PATH OF EXECUTABLE FILE>",
"host_ip": "<HOST_NAME>",
"service_name": "<NAME OF THE SERVICE>" }, "credential": { "name": "<CREDENTIAL_NAME>"
}, "task_name": "pwsh_task" }
Request data
{ "task_details": { "activity_name": "restart_server", "exec_path": "<PATH OF EXECUTABLE FILE>",
"host_ip": "<HOST_NAME>"
}, "credential": { "name": "<CREDENTIAL_NAME>" }, "task_name": "pwsh_task" }
Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.
If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.
You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.