cancel
Showing results for 
Search instead for 
Did you mean: 

Query VSE Client DAT Version using ePO Web API - Python

I wrote a python script to pull data about any computer I enter in when prompted.  The only issue I am currently having is pulling the DAT version installed on the client.  I wrote the following query, but I know it needs some work.  Can someone please help me tweak it so that I can pull the DAT version for the computer name entered (variable is systemName)?

mcDATversion = mc.core.executeQuery(target='EPOLeafNode',

      select="(select EPOProdPropsView_VIRUSCAN.datver)",

      where='(where ( eq EPOLeafNode.NodeName %s ))' % systemName);

Thanks in advance!