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

3 comments:

Unknown 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

Mika Harris 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

Anonymous said...

****Contact Me****
*ICQ :748957107
*Gmail :taimoorh944@gmail.com
*Telegram :@James307


SELLING Fresh and valid USA ssn fullz
99% connectivity with quality
*If you have any trust issue before any deal you may get few to test
*Every leads are well checked and available 24 hours
*Fully cooperate with clients
*Any invalid info found will be replaced
*Good credit score above 700 every fullz
*Payment (BTC&Paypal)
*Fullz will be available according to demand i.e (format,specific state,specific zip code & specifc name etc..)

*Format of Fullz/leads/profiles
°First & last Name
°SSN
°DOB
°(DRIVING LICENSE NUMBER)
°ADDRESS
(ZIP CODE,STATE,CITY)
°PHONE NUMBER
°EMAIL ADDRESS
°Relative Details
°Employment status
°Previous Address


$2 for each fullz/lead
(Price can be negotiable if order in bulk)


OTHER SERVICES ProvIDING

*(Dead Fullz)
*(Email leads with Password)

*(Dumps track 1 & 2 with pin and without pin)

*Hacking Tutorials
*Smtp Linux

*Contact soon!
*Hope for a long term Business
*Thank You!

****Contact Me****
*ICQ :748957107
*Gmail :taimoorh944@gmail.com
*Telegram :@James307