About This File
This script is intended to be used as a function script, but is flexible and can be ran manually. The script generates a random InstallerToken value for the location and installer type requested, valid for a variable length of time. These can be used to create installer download links valid for more than 24 hours that can be given to clients, or used in deployment scripts. They can also be issued for shorter periods specifically for on-demand agent installation (such as reinstalling an Automate agent through Control). The expected use case is for scripted creation of batch (or powershell) agent deployment scripts that download the agent installer at run time. Another script can call this one to generate a token, and then write that token into the deployment script. This is an improvement over deployment solutions that require the server password to be stored as the installertoken can expire or be selectively revoked at any time with very little impact, but a server password reset impacts all installers for all clients.
What's New in Version 1.4.1 See changelog
Released
Now correctly supports non US date formats.
Supports more validity intervals, more flexible support for the installer type (Can use the description or installer type number, example: "MSI" or "1")
Provides more parameter options for running directly and emails token information to the technician. (When used as a function script, no email is sent)
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.