Friday, May 22, 2015

Export All SMTP Addresses & Exchange 2010

If you would like to export all SMTP proxy addresses into CSV file to be used for your discovery or preparation for office 365 migration , here is simple PS script to complete the task.

Here is an example of user with three SMTP proxy address, we will capture all SMTP addresses for all users and provide output to CSV file.

image

Get-Recipient -Identity Aki.Armstrong | Select Name -ExpandProperty EmailAddresses

 

image

Now we want to capture all the SMTP proxy Addresses

Get-Recipient -Identity Aki.Armstrong | Select Name -ExpandProperty EmailAddresses | select Name,SmtpAddress

image

Now we need to add ( make sure you have the Temp directory under C drive or change the output as you wish to make it fit into your particular scenario.

Export-Csv C:\temp\All_SMTP_Proxy_Addresses_List.csv

Last thing is to make sure we add  -ResultSize Unlimited  ( this will be required if the query runs against more than 1000K recipients)

Get-Recipient -ResultSize Unlimited  -Identity Aki.Armstrong | Select Name -ExpandProperty EmailAddresses | select Name,SmtpAddress | export-csvC:\temp\All_SMTP_Proxy_Addresses_List.csv

the CSV file will look similar to this one

image

If you like to collect more data, you can also use  Get-member to see all available properties and adjust your output per your needs from available property list

image

 

Get-Recipient -Identity Aki.Armstrong | Select-Object Name,EmailAddresses,ServerName

image

 

Oz Casey, Dedeal  ( MVP North America)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)

Twitter: https://twitter.com/message_talk

2 comments:

Bushigaide Wang said...

Additionally allow with regard to purchasers that can mbt sneakers english isles turned seem to be your company entity's reliable building, plus maintain consumer enterprises. For approximately staff, in event many of us remain or possibly seamless extended-condition excellent involving business,Cheap Jordan shoes, next each in our legs, your shank could experience pine, it can cut back your current mania pertaining to complete the task.

Nevertheless, in an incredibly certain amount, MBT Sirima Dark sneakers will avail uou. Consequently, only inexpensive plus helpful guidelines involving some of our process, client respected at, next ones client would almost certainly solely always exist mbt sale affecting resources. that leave trademic internet declamatory retail store, the best Cina large swiftly exchanging markets encouraging worldwide internet prominent vendors,cheap jordans for sale, like auction web sites large vendors seeing that 2008.

Jordan athletic shoes is well-enjoyed, in contrast also contributed towards your bogus involving trade arrogant, but it surely is sealed. No matter in case road, or regular internet, plus there are lots of different amount trainers, many large, a lot of low cost prominent. In help conserve bank account prepared to get favorite athletic shoes, everybody is should have eyesight detection Nike jordan sneakers true asset phony,Jordans Shoes, like power reassure their very own magical probably won't light, also could get authentic beneficial tennis shoes. michael jordan sneakers Included themselves consequently years regarding issue concerning Jordan sneakers plus read making use of their mastering in internet boards, change cashflow, own thoughts in addition to opinions,new jordans, find available how to discovery genuine, firstly, will not likely always be cheap, ludicrously low price tag internet sneakers that won't buy, while in the pavements or perhaps tugging anyone, confab the person you wish to do sneakers, will not likely say to these to order, obtain a selected negative aspect. Following, next, otherwise terrible dollars, next towards the table to purchase order, even so the actual table typically will never lower price, for that reason for it to cost dollars to appear released.

New Cheap Air Jordan shoes for sale,Nike shoes outlet,wholesale jordans shoes online | http://www.shoescvcz.com

smart buzz said...

Hello All
I'm offering following hacking services

..Western union Trf
..wire bank trf
..credit / debit cards
..Perfect Money / Bintcoing adders
..email hacking /tracing
..Mobile hacking / mobile spam

..hacking Tools
..Spamming Tools
..Scam pages
..spam tools scanners make your own tools
..Keyloggers+fud+xploits


Fake peoples have just words to scam peoples
they just cover their self that they are hacker
but when you ask them a questions they don't have answer
they don't have even knowledge what is hacking
am dealing with real peoples who interested and honest
also teaching hacking subjects in reasonable price
with private tools and proof.

Availability 24/7 contact only given below addresses
salvrosti@gmail.com
Icq: 718684828
Skype: live:Salvrosti@gmail.com