Wednesday, November 2, 2011

Exchange 2010 Database Size, EDB file Path etc.….

You might wonder what is the size of  your Exchange Server databases , and their path etc. In Exchange 2010 the task is pretty real easy.

Get-MailboxDatabase -Status | select ServerName,Name,DatabaseSize,EdbFilePath,LogFolderPath

image

  • Now here how the output would look like

image

  • to export this into CSV file add the fallowing at the end of PS
Export-Csv c:\scripts\DBSize.csv


  • Full Script would be like this




Get-MailboxDatabase -Status | select ServerName,Name,DatabaseSize,EdbFilePath,LogFolderPath | Export-Csv c:\scripts\DBSize.csv

image



  • Finally we will plug this into PowerGUI

image



  • Give it a name

image


image


Respectfully,
Oz Casey, Dedeal ( MVP north America)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)

4 comments:

Exchange Server Recovery said...

Hello Oz Casey,
After reading your post I think it is very easy to find EDB file path and file size.

Sudhir Rawat said...

thanks for the informative post...

Nuke said...

nice share

Anonymous said...

Very Helpful post Sir! +1 / Bugups : D