Solved

Viewing users in Exchange 2007

Posted on 2009-05-05
5
204 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
To show how to generate a certificate request 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 >> Certificates…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

728 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