Kaseya Community

Script to check CA etrust antivirus Definitions

  • Hi all...

    Does anyone has a script to check etrust antivirus definitions ??

    Thanks...

    Legacy Forum Name: Script to check CA etrust antivirus Definitions,
    Legacy Posted By Username: christian@syneteksolutions.com
  • This is what I wrote to check eTrust ITM R8 definitions. It's a little rough around the edges, but basically just forces an update using whatever update servers the software already has defined. This script only updates the VET engine.

    Script Name: eTrust ITM Update
    Script Description: Updates eTrust ITM and logs successes and failures. Alets via e-mail on failure.

    IF Test File
    Parameter 1 : C:\Program Files\CA\SharedComponents\ScanEngine\SigCheck.exe
    Exists :
    THEN
    Get Variable
    Parameter 1 : 6
    Parameter 2 :
    Parameter 3 : machineid
    OS Type : 0
    Get Variable
    Parameter 1 : 10
    Parameter 2 :
    Parameter 3 : temp
    OS Type : 0
    Execute Shell Command
    Parameter 1 : "C:\Program Files\CA\SharedComponents\ScanEngine\SigCheck.exe" Vet >> #temp#\eTrustUpdate.log
    Parameter 2 : 1
    OS Type : 0
    Get Variable
    Parameter 1 : 1
    Parameter 2 : #temp#\eTrustUpdate.log
    Parameter 3 : oldversion
    OS Type : 0
    Execute Shell Command
    Parameter 1 : "C:\Program Files\CA\SharedComponents\ScanEngine\ITMDist.exe"
    Parameter 2 : 1
    OS Type : 0
    Execute Shell Command
    Parameter 1 : "C:\Program Files\CA\SharedComponents\ScanEngine\SigCheck.exe" Vet >> #temp#\eTrustUpdate.log
    Parameter 2 : 1
    OS Type : 0
    Get Variable
    Parameter 1 : 1
    Parameter 2 : #temp#\eTrustUpdate.log
    Parameter 3 : newversion
    OS Type : 0
    Write Script Log Entry
    Parameter 1 : eTrust ITM update has run on #machineid#. Old VET version: #oldversion#. New VET version: #newversion#.
    OS Type : 0
    ELSE
    Get Variable
    Parameter 1 : 6
    Parameter 2 :
    Parameter 3 : machineid
    OS Type : 0
    Write Script Log Entry
    Parameter 1 : eTrust ITM was NOT updated on #machineid#: eTrust ITM not installed.
    OS Type : 0


    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: arobar
  • Thanks Alex !!!

    I'll test and let you know results or any improvement !!!

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: christian@syneteksolutions.com