Tuesday, November 29, 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,
http://smtp25.blogspot.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)

View article...

No comments:

Post a Comment