Solved

Viewing users in Exchange 2007

Posted on 2009-05-05
5
198 Views
Last Modified: 2012-05-06
Hi All

We have several hundred mailboxes in our Exchange org.

We have just implemented an Exchange 2007 MBX server (there is already a HT and CAS). When I go to Recipient Configuration > Mailbox, I see a list of -every- maillbox in my Exchange org.

I can filter, so that I only view the mailbox per a server, but this filter never saves. Is there anyway to set it so that I get the same filter each time?

0
Comment
Question by:kam_uk
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:kdagli
ID: 24311218
You can save only one filter at a time.
After you set the filter, you may click on "View" and click on "Save current filter as default".

Alternatively, you may write a script in powershell that will prompt you to enter the server name and then it will display mailboxes present on that server.
Let me know if you need a script. I'll write it for you.
0
 
LVL 3

Author Comment

by:kam_uk
ID: 24335209
Hi

Thanks...yes, I would be -very- interested in the script, sounds really good!

Thanks!
0
 
LVL 4

Expert Comment

by:kdagli
ID: 24342004
Sure, I'll write the one and attach here. I will be few lines script.
0
 
LVL 4

Accepted Solution

by:
kdagli earned 500 total points
ID: 24342569
Copy and paste the code in notepad and save the file with extension .ps1
Open exchange management shell and navigate to a folder you save the script.
type  .\nameofthescript.ps1 and hit enter.  (note: there is .\ before the scripname.ps1)


write-host ""

$Getname = Read-Host "Enter the name of Exchange Server"

write-host ""

Get-Mailbox -Server $Getname -Resultsize Unlimited | select Name, Alias, PrimarySMTPAddress 

write-host ""

Write-host "Mailboxes listed above resides on Exchange Server $Getname" -foreground Green

#Get-Mailbox -Server $Getname -Resultsize Unlimited | select Name, Alias, PrimarySMTPAddress, Database | 

Get-Mailbox -Server $Getname -Resultsize Unlimited | convertto-html -Property Name, Alias, PrimarySMTPAddress, Database > C:\Mailboxes.htm

c:\mailboxes.htm

Open in new window

0
 
LVL 3

Author Comment

by:kam_uk
ID: 24359656
That's excellent, thanks so much!!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
In this video we show how to create a Contact 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 Recipients >> Contact ta…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now