Video Screencast Help

NS7 Custom Inventory to Scan for Specified Files via the cim_datafile Class

Created: 29 Oct 2009
dougj's picture
+1 1 Vote
Login to vote

The attached download queries the wmi class cim_datafile for files with certain extension. The wmi class contains all data normally found in the file header information and more!

Querying this wmi class has proven to be many, many times faster than scanning a hard drive for file information.

This sample has logic to query for all 'local drives' and to skip specified directories. The query logic itself currently queries on 'Extension' but can be modified to query on any other value in the wmi class.

The NS7 custom inventory table xml file has been included.