Solved

Viewing users in Exchange 2007

Posted on 2009-05-05
5
197 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

Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
In this video we show how to create a mailbox database 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 Servers >> Data…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

705 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

19 Experts available now in Live!

Get 1:1 Help Now