WMUG
The Windows Management User Group

Direct To Query


posted by Rob
12-13-2006

Downloads: 429
File size: 3.7kB
Views: 579
Direct To Query

VBScript that will read all User, UserGroup and System Direct Membership rules from a source collection and compile them in to a query which is inserted in to a Destination collection.

This is useful for collapsing Direct Membership rules in to a single query for each type specified above. The main purpose of this script was to convert Direct Membership rules which index off the Resources ID to Query Rules that index off the resources Name.