Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

check Disk Free space:

Posted on 2013-11-04
5
Medium Priority
?
688 Views
Last Modified: 2013-11-08
check Disk Free space:

We have 2 Exchange 2010 Mailbox nodes member of the DAG with 8 mailboxes each active/passive
I need a script that will give me the space left on the drives


for instance:
MDB1 has Edbfile in Y: drive and Logs in F: drive.
MDB2 has Edbfile in G: drive and Logs in H: drive.
MDB3 has Edbfile in K: drive and Logs in M: drive.



Thanks
0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 14

Assisted Solution

by:ThomasMcA2
ThomasMcA2 earned 2000 total points
ID: 39622966
Try this command:

fsutil volume diskfree c:

Open in new window

0
 

Author Comment

by:jskfan
ID: 39623004
fsutil volume diskfree c:

this will work for local drive only.. what about remote drives ?
0
 
LVL 14

Accepted Solution

by:
ThomasMcA2 earned 2000 total points
ID: 39623037
Sorry about that, I never tried to use that tool on a remote drive.

Here's a PowerShell version of the df command.
0
 

Author Comment

by:jskfan
ID: 39623151
I get an error:

The term 'Get-diskfree' is not recognized as the name of a cmdlet, function, script file, or operable program. Check th
e spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:13
+ Get-diskfree <<<<
    + CategoryInfo          : ObjectNotFound: (Get-diskfree:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
0
 

Author Closing Comment

by:jskfan
ID: 39632653
thanks
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
This video discusses moving either the default database or any database to a new volume.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question