Exchange 2007 - Export Delegates list to a CSV
Need some help if possible? I’m trying to get a list of all delegates for all mailboxes and export that info to a CSV file. When I run this command: (Get-Mailbox -ResultSize unlimited | Get-MailboxCalendarsettings | where {$_.resourcedelegates -notlike “”} | fl identity,resourcedelegates) I get the names of each delegate. When I try to export that info by using (Export-csv) at the end. It doesn’t give me the list of names. It just gives me SID id’s for some and that’s it. Anyone know how I can get this info exported properly with the actual users names that are delegates for the mailboxes? Any help will be appreciated
July 20th, 2011 4:25pm

Pipe out instead works. (Get-Mailbox -ResultSize unlimited | Get-MailboxCalendarsettings | where {$_.resourcedelegates -notlike “”} | fl identity,resourcedelegates) >c:\test.txtJames Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
July 20th, 2011 8:17pm

Hi, The cmdlet should be: Get-Mailbox -ResultSize unlimited | Get-MailboxCalendarsettings | where {$_.resourcedelegates -notlike “”} | Select-Object identity,resourcedelegates | Export-csv -path "c:\test.csv" Please 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. This can be beneficial to other community members reading the thread.
July 22nd, 2011 12:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics