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
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.csvAdd any other properties as needed.
- Marvin OcoIron Contributor
Yeah, my bad - never use 'FT' when exporting 🙂
Get-CASMailbox -ResultSize Unlimited | select Name,POPEnabled,ImapEnabled | Export-Csv -nti blabla.csv