Adding a scheduled task to perform the host-automation on a predetermined frequency.
Dislaimer: Not developed nor tested for Production instances.
- Move the automation install bundle to the following location:
{{ install-partition }}:\Program Files\CyberArk\
- Open the Windows Task Scheduler
- Under General tab, copy the settings from below.
Note: This documentation was put together for demonstration purposes. You should never run a scheduled task as anything except for an account managed by the Password Manager (CPM) and managed centrally from the Vault.
- Select the Triggers tab -> New...
- Copy the settings in the screenshot below ->
OK
- Select Actions tab -> New...
- In Edit Action window, copy the settings so they are identical to the screenshot below, including the following:
attribute | value |
---|---|
Add arguments (optional) | -ExecutionPolicy Bypass "{{ partition-letter }}:\Program Files\Host Automation\Automation\onboarding-service.ps1" |
To test the job, simply right click the job in Task Scheduler -> Run