
September 15th, 2003, 03:52 PM
|
|
Registered User
|
|
Join Date: Sep 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
WMI functions & JSCRIPT
I'm using WIN32_Directory and CIM_Datafile calls to gather info about various file-structures on multiple servers. But... every time i execute a WIN32_Directory / CIM_Datafile function, WMI tries to access the floppy-drive(s); performance is degrading...  not funny... when u're talking about millions of files...
Even when i tell WMI-SQL to search only for files on Drive='c:' (or any other logical harddisk) and Path='apath on the harddrive' , it still is trying to access the floppy-drive.
Why WMI ? I can't use the NetWork object to obtain access to the servers, since there are no shares on any of the servers (company policy).
Furthermore, the script MUST be started from a central place - which means i can't use local-scripts on each of the servers..
Does anyone know why WMI is accessing the floppy-drive? And how do i tell WMI not to?!
|