Jump to content
Sign in to follow this  
cchamberlin

Extra Data Field

Recommended Posts

Posted (edited)

Hi all,

I am trying to create an inventory extra data field. I am trying to run a query of the ad plugin to get the last ad checkin from the machine.

SELECT ade.Name, adc.Lastlogon FROM plugin_ad_computers adc, plugin_ad_entries ade WHERE adc.ObjectGUID = ade.ObjectGUID AND ade.Name = %computername%

This works fine in the sql editor. How would i get the data field to populate this data. (I am ok with Running a script if that is the easiest way) Any help would be great.

Thanks,

Colin

 

Edited by cchamberlin

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...