Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: Windows XP
I am trying to find an automated solutions to capturing network drive free space stats into a spreadsheet. This has to be done on a daily basis. Any input would be appreciated. Thanks!
Posted 6-Dec-12 6:20am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you are able to write .Net you could use a PerformanceCounter to get the free space on a specific machine and drive?
PerformanceCounter PerfCnt_Disk = new PerformanceCounter("LogicalDisk", "Free Megabytes", [drive letter as in "C:"], [server name]);
            float val = PerfCnt_Disk.NextValue();
From there you could simply write the values to a CSV file.
..Or if you're not a coder you could buy something off the shelf like this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CHill60 360
1 Sarvesh Kumar Gupta 248
2 OriginalGriff 218
3 Sergey Alexandrovich Kryukov 158
4 RyanDev 120

Advertise | Privacy | Mobile
Web01 | 2.8.140709.1 | Last Updated 6 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid