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 two mandatory parameters – 1) Mailbox Name 2) Text file with OOF Messages
- Sets the Internal and External OOF Messages according to the text file
- Accepts two optional parameters 1) StartDate 2) EndDate – which set between which periods the messages should be displayed
Please refer to the following article:
Sharing is caring!: