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