Solved

Viewing users in Exchange 2007

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. 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

Find out what you should include to make the best professional email signature for your organization.
Read this checklist to learn more about the 15 things you should never include in an email signature.
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 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