Register
: :
Login
Home
News
Forums
Scripts
User Groups
Resources
About
Forums
Search
Members
Unanswered
Active Topics
Forums
>
Using PowerShell
>
Active Directory
Export Contacts email addresses
Last Post 07 Dec 2009 10:43 AM by
Stan
. 1 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
Stan
New Member
Posts:13
04 Dec 2009 01:25 PM
My object here is to export a group membership list that includes the name field and the email addresses of each user. I can get the email addresses of the individuals who have email addresses within our domain, however this group also contains objects that are defined as contacts. The results return with everyone's name and only the email addresses for our domain. How can I additionally get the email address for the contacts that are a member of this group.
This is the script that I am trying so far.
get-qadgroupmember | select name,email
Is the email address for a contact object read differently then an user object?
Stan
New Member
Posts:13
07 Dec 2009 10:43 AM
I was able to achieve this by using this command string.
get-qadgroupmember -sizelimit 0 -includedproperties mail | select name,mail | export-csv c:\temp\md.csv
You are not authorized to post a reply.
Using PowerShell
--General PowerShell
--Books, Tools, and Videos
--Exchange Server
--Active Directory
--System Center Family
--Non-Microsoft Products
--SharePoint
--SQL Server
--Working with .NET
--Peer Review
--Testing, Testing...
PowerShell Development
--Cmdlet Development
--PSDrive Provider Development
--Hosting the Shell
Looking Ahead
--Using PowerShell v2.0
--Developing for PowerShell v2.0
PowerShellCommunity.org
--Community Announcements and Assistance
--Completely Unrelated
--User Groups
--Community Business
----Suggestion Box
Forums
>
Using PowerShell
>
Active Directory
Active Forums 4.3
Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2