To minimize security risks, the use of script tasks is disabled by default. You can enable them in the settings.

Enable execution of user-defined scripts (e.g., batch, VBS, or JVS files)

If you enable this option, a message will appear that you must confirm. After that, you can use the task type in the jobs. For information on configuring script tasks, see Script task.