This Powershell script is a sample which is attached to this article.
The script performs the following functions:
- Is executed from the Exchange Management Shell
- Accepts a single mandatory parameter – 1) ReportFile
- Reports on the OOF status for each user in your organisation to a text file
Please refer to the following article: