Jump to content
Sign in to follow this  

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.




Edited by cchamberlin

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this