Title: RE: AdminMisc - Drive Space

Microsoft seems to have a perl script version of the same utility.  But it uses WMI.PM.  I don't know if you can get that without purchasing the resource kit.

Anyway, this is what it produces as output.

C:\ResKit>perl diskproperties.pl -v -format list
Drive Letter:          C:
Disk/Partition Number: Disk 0, Partition 0
Boot Drive:            Yes
Label:
Machine:               \\EBZ-1QZ4L
File System:           NTFS
Compressed:            No
Size(%):               83.88%
Free Space(%):         68.63%
Size(KB):              24,577,528
Free Space(KB):        8,409,736
Total Size(KB):        29,302,560
Total Space Free(KB):  12,254,432
Device Status:         OK
Location:              Bus Number 0, Target ID 0, LUN 0
Manufacturer:          (Standard disk drives)
Model:                 IC25N030ATDA04-0
Media Type:            Fixed hard disk media

Drive Letter:          D:
Disk/Partition Number: Disk 0, Partition 1
Boot Drive:            No
Label:
Machine:               \\EBZ-1QZ4L
File System:           FAT32
Compressed:            No
Size(%):               16.09%
Free Space(%):         31.37%
Size(KB):              4,715,736
Free Space(KB):        3,844,696
Total Size(KB):        29,302,560
Total Space Free(KB):  12,254,432
Device Status:         OK
Location:              Bus Number 0, Target ID 0, LUN 0
Manufacturer:          (Standard disk drives)
Model:                 IC25N030ATDA04-0
Media Type:            Fixed hard disk media


C:\ResKit>

> -----Original Message-----
> From: Crosby, Sam [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 12, 2003 2:19 PM
> To: [EMAIL PROTECTED]
> Cc: 'Thomas Browner'
> Subject: RE: AdminMisc - Drive Space
>
>
> I haven't had any luck with Win32::DriveInfo yet.  I have not
> been able
> to retrieve any info from any Win2k computers, but have from
> Win95.  The
> documentation makes reference to Win95 computers but not
> about Win2K - I
> wonder if it is limited to none NTFS drives. So my need appears to
> remain...
>
>  
> -----Original Message-----
> From: Thomas Browner [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 11, 2003 2:30 PM
> To: 'Crosby, Sam'; [EMAIL PROTECTED]
> Subject: RE: AdminMisc - Drive Space
>  
> Have you tried to use:
> win32::DriveInfo;
>  
> Thomas
>  
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of
> Crosby, Sam
>
> Sent: Tuesday, February 11, 2003 12:58 PM
> To: '[EMAIL PROTECTED]'
> Subject: AdminMisc - Drive Space
>  
> I have AS Perl v5.6.1 "built for MSWin32-x86-muti-thread" on my
> computer.  I have not found a recent version of AdminMisc
> that will load
> on that so far.   I need to obtain information about drives on remote
> servers (sectors, sector size, ....and free space) and wonder what
> alternatives are available.  I need to get this information for drives
> on those machines as well as mounts.....
>
>  
> Sam F. Crosby
>  
>
>

Reply via email to