Description
Getting Available Disk Space. You need to see only instances with a DriveType of 3—the value WMI uses for fixed hard disks.
Source Code
Get-WmiObject -Class Win32_LogicalDisk -Filter "DriveType=3" -ComputerName .
Source Code and Samples
Friday, 9 February 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment