Skip to main content

Overview

This document provides instructions for installing ImmyBot on the endpoint using preconfigured variables.

Dependencies

  • Managed Variable (IMMYBOT_KEY)
  • Managed Variable (IMMYBOT_ID)
  • Managed File (Install-ImmyBot.ps1)

VSA Implementation

  1. Export the procedure from the ProVal VSA.
  2. Import the procedure into the partner VSA.
  3. Import the managed file (Install-ImmyBot.ps1)
    • This can be exported from our VSA:
      VSASharedFiles//Miscellaneous//Install-ImmyBot.ps1
  4. Modify the line 16 writeFile to point to the uploaded file, and ensure the destination shows #directory#//#ScriptName#.ps1

Image

  1. Create managed variables for IMMYBOT_ID and IMMYBOT_KEY
    Image

These values can be gathered from the ImmyBot portal. The PowerShell output contains a KEY and an ID.

Image
6. Specify the subdomain in the agent procedure. The subdomain can be gathered from the same command copied earlier.

Image

In this example, the subdomain of https://proval.immy.bot would be proval.

Image

Ensure you use the URL copied from the partner's ImmyBot instance

Image

Payload Usage

PS C:/> Install-ImmyBot.ps1 -Subdomain 'yourSubdomain' -ID 'yourID' -KEY 'yourKEY' 
# Installs ImmyBot using the specified parameters.

PS C:/> Install-ImmyBot.ps1 -Subdomain 'yourSubdomain' -ID 'yourID' -KEY 'yourKEY' -Upgrade
# Installs ImmyBot using the specified parameters and will upgrade an existing agent to the latest version.

PS C:/> Install-ImmyBot.ps1 -Subdomain 'yourSubdomain' -ID 'yourID' -KEY 'yourKEY' -Upgrade -Force
# Installs ImmyBot using the specified parameters, will upgrade an existing agent to the latest version, and will replace existing installation even if up to date.

Parameters

ParameterAliasRequiredDefaultTypeDescription
-SubdomainTrueStringThe subdomain of the partner's ImmyBot instance. This is their ImmyBot subdomain URL.
-IDTrueStringID for the installation of the ImmyBot agent
-KEYTrueStringKEY for the installation of the ImmyBot agent
-UpgradeFalseSwitchWill replace existing installations with the latest version of ImmyBot if an existing installation is detected.
-ForceFalseSwitchWill replace existing installations with the latest version of ImmyBot even if the existing installation is using the current version.

Output
Location of output for log, result, and error files.

Agent Procedure Log Entry
%ProgramData%_automation/AgentProcedure/ImmyBotInstall/Install-ImmyBot-log.txt
%ProgramData%_automation/AgentProcedure/ImmyBotInstall/Install-ImmyBot-error.txt