Jaime Campos
asked on
Need some details on the Exchange System and the mailboxes
In preparation for the O365 move. I am running Exchange 2010.
Need some details on the System and the mailboxes:
Exchange Server Version (number of servers)
# of Mailboxes
# resources
# Mail stores
Mail Store Size
Org accounts
I tried to use Get-ExchangeEnvironmentRep ort, however when I run it, the powershell prompt closes. How can I get this information? http://www.stevieg.org/2011/06/exchange-environment-report/
Thanks,
nimdatx
Need some details on the System and the mailboxes:
Exchange Server Version (number of servers)
# of Mailboxes
# resources
# Mail stores
Mail Store Size
Org accounts
I tried to use Get-ExchangeEnvironmentRep
Thanks,
nimdatx
Hi,
to get a list of Databases (Mail stores, as you wrote), from Exchange Shell type: Get-MailboxDatabase -Server "ServerName"
To get a list of mailboxes, from Exchange Shell type: [PS] C:\>(Get-Mailbox).count
If you want to see how many mailboxes you have, per database, then from Exchange Shell type:
[PS] C:\>Get-Mailbox | Group-Object -Property:Database | Select-Object name,count
To get database size, from Exchange Shell: [PS] C:\>Get-MailboxDatabase -Status | select Name,DatabaseSize
Regards,
Ivan.
to get a list of Databases (Mail stores, as you wrote), from Exchange Shell type: Get-MailboxDatabase -Server "ServerName"
To get a list of mailboxes, from Exchange Shell type: [PS] C:\>(Get-Mailbox).count
If you want to see how many mailboxes you have, per database, then from Exchange Shell type:
[PS] C:\>Get-Mailbox | Group-Object -Property:Database | Select-Object name,count
To get database size, from Exchange Shell: [PS] C:\>Get-MailboxDatabase -Status | select Name,DatabaseSize
Regards,
Ivan.
ASKER
It worked, however I took out -HTMLReport c:\report.html, once I found the file I opened with Excel and I had all information needed.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window
Need to run this command from the folder where you saved the script.. If you get any error in console, post the same here so we can assist you..