get-casmailbox

can anyone help me with a shell command. I want to run get-casmailbox to get all the fields returned from this cmdlet for all mailboxes on our server, exported and wrapped out to CSV. The examples on the MS site only show how to run it for a single mailbox but I need to run it for all mailboxes.

Many Thanks


  • Edited by cf090 16 hours 51 minutes ago
February 15th, 2015 1:58pm

Hello,

Probably the following cmdlet can help you

Get-Mailbox|Get-CASMailbox
Free Windows Admin Tool Kit Click here and download it now
February 15th, 2015 2:21pm

If you don't specify any mailbox, it will return a list of up to 500 mailboxes. If you have more, just use the resultsize parameter:

Get-CASMailbox -ResultSize Unlimited | Export-Csv -nti c:\casmailbox.csv

  • Proposed as answer by Lynn-Li 2 hours 50 minutes ago
February 15th, 2015 4:45pm

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

Other recent topics Other recent topics