Viewing Contact properties in powershell
Is it possible to view the properties of a contact via powershell command? Or can I export contacts within a mailbox into a csv which includes the contact name and creation date?
Thanks, SJMP
July 28th, 2011 1:36pm
Hi SJMP,
How about get-mailcontact | ft Name,*when* ?
:MartinaPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question.
Free Windows Admin Tool Kit Click here and download it now
July 28th, 2011 1:44pm
Hi SJMP,
This command can help you to view the properties of a contact:
Get-Mailcontact –identity
Mailcontact |fl
If you want export contacts into a csv
which includes the contact name and creation date, you can use this command to achieve the goal:
Get-Mailcontact | select Name, @{Name=’Created Time’; Expression={$_.WhenCreated}}|Export-csv –path C:\ContactReport.csv –NoTypeInformation
Thanks,
Evan Liu
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tngfb@microsoft.com
July 28th, 2011 11:25pm
Hi SJMP,
Any updates on this issue?
Thanks,
Evan Liu
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
August 1st, 2011 9:29pm