官术网_书友最值得收藏!

Mailbox reporting

In this section, we will review a simple example where certain selected or all the properties of mailbox objects can be exported to a CSV file for review. For instance, you are an administrator of a company who is planning to move to Exchange Online and wants to find out the mailbox sizes of the user mailboxes.

We will use a combination of Get-Mailbox, Get-MailboxStatistics, Select-Object, and Export-CSV cmdlets:

Get-Mailbox | Get-MailboxStatistics | Select-Object DisplayName, ItemCount, TotalItemSize | Export-CSV "ExistingMailboxSize.csv"

Based on your requirements, you can build a complex script that can take multiple parameters as input, will do data conversion, and even send an email to specific people displaying the report in the HTML format. A simple example of a script is shared in the last topic of this chapter.

主站蜘蛛池模板: 高要市| 阳新县| 策勒县| 萨嘎县| 武乡县| 尖扎县| 苏州市| 鹰潭市| 辽源市| 常山县| 涟水县| 章丘市| 沂水县| 甘德县| 天台县| 重庆市| 县级市| 巴林左旗| 虞城县| 黎平县| 花垣县| 广东省| 浑源县| 特克斯县| 新兴县| 宿迁市| 龙州县| 乌审旗| 遂溪县| 石河子市| 全州县| 石屏县| 神池县| 丰宁| 云霄县| 郸城县| 博白县| 沁水县| 沁水县| 东乌| 安阳市|