Method that i suggest if you have SQL skills, is to access directly to configuration database and retreive all the information that you need on view K2VW_RESOURCES (remember to filter for AttributeState='NEW').
I've also written a PERL module to query database information on windows (by using Win32::ODBC).