All the drives mapped by our logon script show up here.
Mapping drives with net use x: \\servers\share also shows up here. The homeshare mapped by the user manager actually does not show up indeed.

Another example from the manual:

code:
$Drives = GetObject("winmgmts:").ExecQuery("select Name,DriveType from Win32_LogicalDisk")

If @error <> 0
? @error + " / " @serror
Else
For Each $Drive in $Drives
? $Drive.Name
Next
EndIf

This does show all drives. Removing local disks should be possible I guess but I’m not realy into WMI and COM (yet).

[ 03. September 2003, 22:06: Message edited by: R2D2 ]
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.