Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
PowerShell as a job
Accessing parameters, coming from an order or a job, by environment variables makes it easy to use a generic job for executing PowerShell scripts. The order parameters or job parameters have to specify the name of the script and some more parameters that will be passed to the PowerShell script.
...
The <monitor>
used in this example is required for parameter substitution of the order parameters.
Related Downloads
...
See also
- How to execute a PowerShell script with JobScheduler
- Setting the executionPolicy to execute .ps1-scripts
- How to get the Exit Code of a PowerShell Script
- How to pass parameters from JobScheduler to a PowerShell script
- How to pass parameters to subsequent shell jobs in a job chain
- Example for a generic shell job passing the shell script to execute as a job parameter
- Example for control of the process flow of a job chain by exit codes