Skip to main content

Install Todyl SGN Connect

Summary

Installs the Todyl SGN Connect on Windows systems using the appropriate deployment key for servers, laptops, or desktops.

Dependencies

Sample Run

Image1

User Parameters

NameExampleAccepted ValuesRequiredDefaultTypeDescription
ForceYesYes, NoNoNoFlagIf enabled, forces installation even if SGN Connect is already installed.

Custom Fields

NameLevelTypeRequiredDescription
Todyl Desktop Policy KeyCompanyTextYesTodyl Deployment Key for Desktop Agents.
Todyl Laptop Policy KeyCompanyTextYesTodyl Deployment Key for Laptop Agents.
Todyl Servers Policy KeyCompanyTextYesTodyl Deployment Key for Server Agents.

Task Setup Path

  • Tasks Path: AUTOMATIONTasks
  • Task Type: Script Editor

Task Creation

Description

  • Name: Install Todyl SGN Connect
  • Description: Installs the Todyl SGN Connect on Windows systems using the appropriate deployment key for servers, laptops, or desktops.
  • Category: Application

Image2

Parameters

Parameter NameRequired FieldParameter TypeDefault Value
ForceDisabledFlagDisabled

Force:
Image3

Image4

Script Editor

Row 1: Set Pre-defined Variable ( @laptopDeploymentKey@ = Todyl Laptop Policy Key )

  • Variable Name: laptopDeploymentKey
  • Type: Custom Field
  • Custom Field: Todyl Laptop Policy Key
  • Continue on Failure: False
  • Operating System: Windows

Image5

Row 2: Set Pre-defined Variable ( @desktopDeploymentKey@ = Todyl Desktop Policy Key )

  • Variable Name: desktopDeploymentKey
  • Type: Custom Field
  • Custom Field: Todyl Desktop Policy Key
  • Continue on Failure: False
  • Operating System: Windows

Image6

Row 3: Set Pre-defined Variable ( @serverDeploymentKey@ = Todyl Server Policy Key )

  • Variable Name: serverDeploymentKey
  • Type: Custom Field
  • Custom Field: Todyl Server Policy Key
  • Continue on Failure: False
  • Operating System: Windows

Image7

Row 4: PowerShell script

  • Use Generative AI Assist for script creation: False
  • Expected time of script execution in seconds: 600
  • Continue on Failure: False
  • Run As: System
  • Operating System: Windows
  • PowerShell Script Editor:

PowerShell Script

Image8

Row 5: Script Log

  • Script Log Message: %Output%
  • Operating System: Windows

Image9

Completed Script

Image10

Output

  • Script Log

Changelog

2025-08-29

  • Initial version of the document