Posts Tagged Exchange Server 2010
Get a list of all email addresses for all Exchange Mailboxes
Here’s a handy script to give you a list of all Email Addresses for all Exchange Mailboxes. This power shell script works both in Exchange 2007 and Exchange 2010.
- To execute the script, copy the code below and save it as a .ps1 file.
- Open up the Exchange Management Shell and cd to the directory where you saved the powershell script.
- Run the script by typing .\script.ps1
- To save the output to a file run it as .\script.ps1 > output.txt
Here’s the Script:
Get-Mailbox | select name , alias ,EmailAddresses | foreach {
"Name: "+$_.name
"Alias: "+$_.alias
$_.EmailAddresses | foreach {
if($_.SmtpAddress){
if($_.IsPrimaryAddress){
"Primary SmtpAddress: $($_.SmtpAddress)"
} else {
"SmtpAddress: $($_.SmtpAddress)"
}
}
}
write-host
}
Drop me a line if this has helped you!
Exchange 2010 Search Reset Search Index
Exchange 2010 has a built in search feature which allows you to quickly search for emails in your mailbox using OWA, Exchange ActiveSync, Outlook (in the Online mode) etc.
Exchange 2010 search indexes items as soon as they are received by the Mailbox Database.
While this feature works well, if you just transitioned from Exchange 2003 to 2010, Exchange may not index items brought over from the Exchange 2003 server to the Exchange 2010 server. You may find that users using Exchange search may have issues searching for items that were in their mailbox before the transition. For example, you will not be able to find a pre-transition item using instant search but will be able to find them using ‘Advanced Find’ in Outlook.

Recent Comments