Page History
...
- Log in to a server and get a new token (this should be a non-interactive process for the Scheduler).
- Encrypt the token with Windows DPAPI ensuring the script is running as the same Windows User as the scheduler service.
- Create a base64 Unicode string from the encrypted token
- Modify the Scheduler Profile file (which is in .JSON format) replacing the password on the affected connection with the base64 string.
- Restart the Scheduler service OR select ‘Poll for Status and Refresh Profile’ from RED for the Scheduler.
Anchor | ||||
---|---|---|---|---|
|
Example PowerShell script to create an encrypted base-64 Unicode string using Windows DPAPI:
...