Jump to content

Generate Agent InstallerToken 1.4.1

   (0 reviews)

1 Screenshot

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)

  • Like 4
  • Thanks 2

User Feedback

Recommended Comments

Hi Darren, Great work! Can you include a ReadMe.txt with instructions and information about the options and how to use this. 

 

Thanks!

Link to comment
Share on other sites

Hi Darren,

 

Great work.  We currently just implemented this in our environment, and it is working great.  Is there a way to revoke a token?  For security reasons, it would be great to revoke the token, so we can stop the installations from happening.  Any help is much appreciated.  

Link to comment
Share on other sites

Hey Darren,

We have been banging our heads against the wall trying to get Automate to install through Intune and your script just pulled it all together for us. Once I got it installed, it was so easy to walk through and just worked the first time. Thank you!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...