[1]
>WMI is way fast but more difficult to code if you are unfamiliar with WMI.
[1.1] quote documentation
[tt]CIM_DataFile is one of the few CIM classes in WMI that is implemented. Avoid enumerating or querying for all instances of CIM_DataFile on a computer because the volume of data is likely to either affect performance or cause the computer to stop responding.[/tt]
[1.2] Even you're skilled in querying cimv2_datafile and know using associator query, it is not at all sure it is faster than internal command "dir" written in whatever assembly or c.
[1.3] wmi query offers better selective query that dir cannot handle, sure; but wmi is a heavy weapon, it is not heavy without a reason and it is praised as a state-or-the-art tool despite its being heavy without a reason.
[2]
>But that will not scale.
I've never heard wmi service pooled neither. So scale in what sense? Difference users using the same wmi service?
[3]
> Using WMI you will be able to query remote systems.
It does not imply dir not being unable to query remote system, maybe just not as versatile. Does "share" exist no more?
[4] In any case, we don't compare elephant with mouse in simplist term.