Solved

Exchange 2003 Quick Inventory

Posted on 2008-06-23
5
220 Views
Last Modified: 2008-09-17
Is there a quick way to see how many mailboxes my exchange 2003 server has on it?
0
Comment
Question by:deklinm
5 Comments
 
LVL 29

Accepted Solution

by:
Michael Worsham earned 168 total points
ID: 21852415
Via the Exchange System Manager:

Servers --> <Server Name> --> First Storage Group --> Mailbox Store --> Mailboxes
0
 
LVL 29

Assisted Solution

by:mass2612
mass2612 earned 166 total points
ID: 21852441
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
 
LVL 2

Assisted Solution

by:chand_shahzad
chand_shahzad earned 166 total points
ID: 21864000
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question