- Microsoft Exchange Server PowerShell Essentials
- Biswanath Banerjee
- 133字
- 2021-07-16 13:05:00
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.
推薦閱讀
- Boost程序庫完全開發指南:深入C++”準”標準庫(第5版)
- Python編程自學手冊
- Redis Applied Design Patterns
- Mastering SVG
- Hands-On Data Structures and Algorithms with JavaScript
- DevOps入門與實踐
- Android 9 Development Cookbook(Third Edition)
- WSO2 Developer’s Guide
- C語言最佳實踐
- Mastering LibGDX Game Development
- Unity 5.x By Example
- Python機器學習算法: 原理、實現與案例
- Getting Started with Polymer
- 分布式數據庫原理、架構與實踐
- 零基礎學Java第2版