﻿<?xml version="1.0" encoding="utf-8"?>
<ScriptExport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.kaseya.com/vsa/2008/12/Scripting">
  <Procedure name="Install Addigy Agent (Command Line)" treePres="3" id="1447022831" folderId="570702775507561" treeFullPath="myProcedures - kadmin">
    <Body description="">
      <Statement description="Script Created 7/20/2019&#xD;&#xA;This script will install the Addigy Agent on a macOS Device&#xD;&#xA;Please change the ORGID and the Policy ID to install this Agent in your environment&#xD;&#xA;You can copy the Command Line Install by logging into Addigy finding the Add Devices Page and Copying the Command Line Install" name="ExecuteShellCommand" continueOnFail="false" osType="MacOS">
        <Parameter xsi:type="StringParameter" name="Command" value="sudo curl -o /tmp/macinstall https://agents.addigy.com/installer-darwin-amd64 &amp;&amp; sudo chmod +x /tmp/macinstall &amp;&amp; sudo /tmp/macinstall realm=prod orgid=INSERT-ORG-ID-HERE policy_id=INSERT-POLICY-ID-HERE" />
        <Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="System" />
        <Parameter xsi:type="BooleanParameter" name="Is64Bit" value="True" />
      </Statement>
    </Body>
  </Procedure>
</ScriptExport>