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

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.

主站蜘蛛池模板: 吉首市| 乳山市| 平泉县| 永丰县| 陕西省| 南郑县| 庆城县| 贡山| 白山市| 兰考县| 巴彦淖尔市| 寿宁县| 益阳市| 清新县| 阳春市| 桃江县| 闸北区| 历史| 贡嘎县| 平潭县| 辛集市| 安丘市| 临城县| 吉首市| 潜山县| 广西| 伊通| 北宁市| 万载县| 察哈| 望谟县| 轮台县| 桃江县| 渑池县| 积石山| 曲沃县| 虞城县| 射洪县| 六盘水市| 苏尼特右旗| 怀集县|