Connectwise Automate Instructions¶
This guide will show you how to set up deployment for a build of Helpdesk Button Software through Connectwise Automate. You will need an administrative login for Automate.
Create a Script¶
This script will be run on individual machines as that gives the most flexibility. Our custom generated Powershell script can be downloaded from the site directly on the Builds page. This guide assumes it has beed downloaded and placed somewhere in the LTShareTransfer directory.
Click New -> Script

Select the Location to add the script and click next.

Name the script, add a note if you like, make sure the target is Computer, set the first condition to true.

Add a new command and select File Download. Set the Local File line to the location of the script and the destination to wherever you like on the endpoint machine.
we use:
%tempdir%\HelpdeskButton-deploy.ps1

Add a Process Execute command.
We are using the PowerShell deployment script so we will execute it with PowerShell.
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
we use the arguments:
-ExecutionPolicy bypass "%tempdir%\HelpdeskButton-deploy.ps1"
make sure to put the directory you specified in the destination above.

We add like to check on these from time to time so we have the script log its actions.
%shellresult%

To enable the log you need to add this Global Variable
@ScriptEngineEnableLogger@ True

Finally Save the Script and you are done! Here is what it looks like completed.

Deployment of the script¶
Select Browse from the main bar on the left, then the Groups tab.
Select the group to which you want to Deploy the software, right click and highlight scripts. Navigate to the location the script is in and select it.

The group we chose for this example was Windows Desktops
We recommend having the script run at least daily, but make sure to click Advanced Settings and Stagger the script. Automate will attempt to run them all simultaneously if not.
Click OK.

You should now have automated deployment of our software through Connectwise Automate.