Exchange 2003 Quick Inventory

Is there a quick way to see how many mailboxes my exchange 2003 server has on it?
deklinmAsked:
Who is Participating?
 
Michael WorshamInfrastructure / Solutions ArchitectCommented:
Via the Exchange System Manager:

Servers --> <Server Name> --> First Storage Group --> Mailbox Store --> Mailboxes
0
 
mass2612Commented:
Hi,

You can also get this information via a vbScript. Save this code as Ex-Mbx-Count.vbs. Modify the line: -
cComputerName = "LAB1EX1" ' Modify this value to suit your server

Then run "cscript Ex-Mbx-Count.vbs"
On Error Resume Next
Dim cComputerName
Const cWMINameSpace = "root/MicrosoftExchangeV2"
 
'The rest of the script will fetch mailbox sizes for our server. Mailbox sizes are in Kilobytes. 
 
Const cWMIInstance = "Exchange_Mailbox"
cComputerName = "LAB1EX1" ' Modify this value to suit your server
 
Dim strWinMgmts            ' Connection string for WMI
Dim objWMIExchange   ' Exchange Namespace WMI object
Dim listExchange_Mailboxs  ' ExchangeLogons collection
Dim objExchange_Mailbox           ' A single ExchangeLogon WMI object
 
' Create the object string, indicating WMI (winmgmts), using the
' current user credentials (impersonationLevel=impersonate),
' on the computer specified in the constant cComputerName, and
' using the CIM namespace for the Exchange provider.
strWinMgmts = "winmgmts:{impersonationLevel=impersonate}!//"& _
cComputerName&"/"&cWMINameSpace
Set objWMIExchange =  GetObject(strWinMgmts)
' Verify we were able to correctly set the object.
If Err.Number <> 0 Then
  WScript.Echo "ERROR: Unable to connect to the WMI namespace."
Else
  '
  ' The Resources that currently exist appear as a list of
  ' Exchange_Mailbox instances in the Exchange namespace.
  Set listExchange_Mailboxs = objWMIExchange.InstancesOf(cWMIInstance)
  '
  ' Were any Exchange_Mailbox Instances returned?
WScript.Echo "Total number of mailboxes on server " & cComputerName & " is " & listExchange_Mailboxs.count
 
End If

Open in new window

0
 
chand_shahzadCommented:
The best way is to open you active directory users and computers. right click on you exchange server name > click find. in Find users Window click on second tab :Exchange" and select "users with exchange mail box".  this will show all the users with mailbox and in bottom left corner number of records appears.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.