Powershell script to get size of shares and freespace of volume
Posted on 2010-08-23
I´m trying to build a powershell script, but I have definitely not enough know how about it. So maybe someone could help me with this or provide some information. What I want the script to do is the following:
I have an input-file with UNC-pathes to network shares on different servers. The script should use this file to get me the foldersize of the shares and also provide information about the freespace of the volume where the share exists.
An output like UNC - local Volume - total size - free space - sharesize would be perfect.
I´ve read and testet some scripts which I found here, but I can not get this to work...
At least this has not to be solved with powershell. If someone has a solution in VBS it would be fine also.
Any help would be welcome!