$cre = get-Credential Domain\domadmin # This user account should be
Adminstrator
$file = get-exchangeserver # or you can replace it with your TXT file, which contain
Specific Names of Servers #
foreach ( $args in $file) { get-WmiObject win32_logicaldisk -Credential $cre
-ComputerName $args -Filter “Drivetype=3″ | ft
SystemName,DeviceID,VolumeName,@{Label=”Total SIze”;Expression={$_.Size /1gb
-as [int] }},@{Label=”Free Size”;Expression={$_.freespace / 1gb -as[int] }}
-autosize }