Forum Discussion
Marvin Oco
Oct 03, 2019Iron Contributor
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
VasilMichev
Oct 03, 2019MVP
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.
- Marvin OcoOct 04, 2019Iron Contributor
- VasilMichevOct 04, 2019MVP
Yeah, my bad - never use 'FT' when exporting 🙂
Get-CASMailbox -ResultSize Unlimited | select Name,POPEnabled,ImapEnabled | Export-Csv -nti blabla.csv