?
Solved

Exchange Info Export to CSV via PowerShell

Posted on 2016-08-10
3
Medium Priority
?
68 Views
Last Modified: 2016-09-01
Is there a way to export all user DisplayName,PrimarySMTPAddress,UserPrincipalName AND just their SIP addresses out of the EmailAddresses attribute either from AD or Exchange PowerShell? I would ultimately like to verify that the SIP matches the UPN and Primary SMTP Address. Thanks.
0
Comment
Question by:Christian Hans
[X]
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
3 Comments
 
LVL 27

Expert Comment

by:☠MAS☠
ID: 41751619
Please try this
Get-Mailbox -ResultSize Unlimited | Select-Object DisplayName,PrimarySMTPAddress,UserPrincipalName,SipAddress | Export-Csv C:\temp\sip.csv

Open in new window


Thanks
1
 

Author Comment

by:Christian Hans
ID: 41752725
Thanks, this wouldn't work, there's no SipAddress attribute per say when using the Get-Mailbox command... The only attribute containing a SIP would be the "EmailAddresses" > SIP:

The Get-User command doesn't return anything related to the SIP unfortunately either...

I guess I can try to find a command that I maybe able to run in AD that queries the "msRTCSIP-PrimaryUserAddress" attribute... That seems to contain the sip: content.
0
 
LVL 16

Accepted Solution

by:
Todd Nelson earned 2000 total points
ID: 41753352
You might be able to get what you want with CSVDE.  Try something like this...

csvde.exe -r objectClass=user -l DisplayName,userPrincipalName,proxyAddresses,Mail -f user-objects.csv

Open in new window

0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses
Course of the Month9 days, 15 hours left to enroll

762 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