Working on the same thing.
I've gotten this far:
$MountPoints = gwmi -class "win32_mountpoint" -namespace "root\cimv2" -computername "."
This will pull a directory of mount points on the computer name specified. Now to pull the size and availability.
"djmulls" wrote:
[Quoted Text] > Hiya > > I need help trying to figure out how to find the size and free space > for for volumes that have been mounted as folders within a directory > structure. > > So I have the F:\ drive for example which is a mount point on our SAN. > Then within the F drive we have a folder called F:\Logs which is also > a mount point on our SAN. > > I can pull back information on any mount point that has been mounted > to a drive letter, but I am not able to pull back information for > mount points mounted as folders within drives. > > Any help please? > > Thanks > David >
|