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
Solved

Viewing users in Exchange 2007

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

808 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