id: jetpatch-connector-installation mode: ENFORCEMENT resourceGroups: - resources: id: download-install-the-connector exec: validate: interpreter: POWERSHELL script: mkdir C:\Windows\Temp\jetpatch -f ; cd C:\Windows\Temp\jetpatch ; wget "https://connector-deployment.s3.amazonaws.com/Connectors/Windows/vLink-Installer.msi" -outfile vLink-Installer.msi ; msiexec /i vLink-Installer.msi /quiet MANAGER_IP_HOSTNAME=Your_JetPatch_Server_IP_or_Hostname APIUSER=Your_API_User APIKEY=Your_API_User_Key ; enforce: interpreter: POWERSHELL script: If (Test-Path -Path "C:\Program Files\Intigua\Intigua-Utils\intigua.exe" ) {Write-Host "Connector installed"; Exit 100} Else {Write-Host "Connector installation failed"; Exit 200}