This PowerShell script uses the adTempus API to query the history for selected jobs and write the history to a CSV file.
- The server parameter is the name/address of the adTempus server instance to connect to. Use "." for the local server.
- The job parameter can be a job name or group name. To select all jobs, use "*".
- The start and end parameters are the start and end date/time range to query.
- The output parameter is the name of the file to write the CSV output to.
Modify the property list in select-object (line 22) to include additional properties for the instances.