WMI Scripting is one option. First get Scriptomatic2 to see how they query all computers, then look at this:

http://www.microsoft.com/technet/scr...7/hey0627.mspx