WMI can do this for you, but you have to use of caution to avoid overwhelming your domain controllers…
This is something to try:
string values of selects (“DS_MemberOf from DS_Computer where DS_Name=’” & computer name & “’”) of wmi “root\directory\ldap”
If you decide to use something like this, please be cautious and note any abnormal load on the domain controllers… Also, probably you should set this to evaluate once per day…