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
|

- Now here how the output would look like

- 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 |

- Finally we will plug this into PowerGUI



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:
Hello Oz Casey,
After reading your post I think it is very easy to find EDB file path and file size.
thanks for the informative post...
nice share
Very Helpful post Sir! +1 / Bugups : D
Post a Comment