andyferris
IS-IT--Management
Hello.
We are using Exchange 2010 SP3 and I need to list messages in some mailbox folders, and extract their message ID to a text file.
I have looked at the Search-Mailbox and Get-Message functions, but they don't seem to be able to do what I want.
Search-Mailbox seems to want to 'do something' with the message, copying or logging to another mailbox, and Get-Message applies to messages in the queue only, unless I have read this wrong.
'Get-Message | Get-Member' lists the properties I need so I am assuming I can read them somehow, but I cannot even get as far as listing the mailbox folder contents.
Can anyone help?
Thanks
We are using Exchange 2010 SP3 and I need to list messages in some mailbox folders, and extract their message ID to a text file.
I have looked at the Search-Mailbox and Get-Message functions, but they don't seem to be able to do what I want.
Search-Mailbox seems to want to 'do something' with the message, copying or logging to another mailbox, and Get-Message applies to messages in the queue only, unless I have read this wrong.
'Get-Message | Get-Member' lists the properties I need so I am assuming I can read them somehow, but I cannot even get as far as listing the mailbox folder contents.
Can anyone help?
Thanks