Forum Discussion

Marvin Oco's avatar
Marvin Oco
Steel Contributor
Oct 03, 2019

Using powershell to Export Mailbox property to CSV indicating if IMAP and POP is enabled\disabled

Using PowerShell, How do we Export all 1000 Mailbox property to CSV indicating if IMAP and POP is enabled\disabled?

 

thanks

3 Replies

  • IMAP/POP enabled is checked via the Get-CasMailbox cmdlet. So you can do something like this:

     

    Get-CASMailbox -ResultSize Unlimited | ft Name,POPEnabled,ImapEnabled | Export-Csv -nti blabla.csv

     

    Add any other properties as needed.

      • VasilMichev's avatar
        VasilMichev
        MVP

        Yeah, my bad - never use 'FT' when exporting 🙂

         

        Get-CASMailbox -ResultSize Unlimited | select Name,POPEnabled,ImapEnabled | Export-Csv -nti blabla.csv

Resources