ScriptAgent Server

: René Wittenhorst Last updated: 09.11.2023

This program is used to deploy and run the CPL24Inventory.exe on a specific ip range.

Prerequistes

Detailed Setup steps

To setup, please follow the following steps

  1. Download and unzip the files.
  2. Open a PowerShell/PowerShell Core in Administrator mode and cd into the Folder
  3. Execute the command to copy the downloaded files to the default target (C:\Program Files\CPL24 GmbH\ScriptAgentCore)
./Setup -Copy
  1. Execute the command (from the target directory)
./Setup -Install

When asked, provide credentials for the service user. Please keep in mind, that this user must have at least local administrator rights!

  1. Execute the command
./Setup -Configure

This copies the default examples and overrides existing files.

  1. Open the ScriptAgentJob.config and edit at least the following blocks

By default the job runs imediately after start and repeats it all 24 hours.

  1. Place CPL24Inventory.exe into the program folder
  2. Start the service by rebooting, services menu or by commandline
Start-Service -Name CPL24ScriptAgentCore

Quick Setup

Combine the commands to speedup the setup process

./Setup -Load -Copy -Install -Configure

Now follow the steps 6 to 8 from the Detailed Setup steps section

Hints

Uninstall / Remove

./Setup -Uninstall