MaestroG
Fresh Scripter
Registered: 2002-12-30
Posts: 28
Loc: Tulsa, OK
|
Radimus, If there is an RPC to a share open with the same UNC, there is no drive letter associated (and since they are at the top of the list, they are enumerated first)...so instead of getting G: for $drive, I get \\server1\share. This probably should be addressed in the DriveEnum() function, but how? Also, I am noticing inconsistant behavior when I run the "For Each...Split" twice or three times for different share re-mappings. Any ideas about how to modify DriveEnum() to only acknowledge the mappings that actually have drive letters associated?
Also, this is a very good start, but I don't have WSH on every client for the DriveProp() to work. What should I do? Can WSH be used from a central location (don't think so), or is there another way to grab the drive letter from the For Each...Split?: ![[Confused]](images/icons/confused.gif) [ 17. April 2003, 18:01: Message edited by: MaestroG ]
|