Schedule and manage auto-replies for multiple users at once — perfect for company-wide holidays or department leaves.
This PowerShell tool updates internal and external messages in bulk, saving time and reducing manual errors.
Description:
Schedule automatic out-of-office replies for multiple users in one go. Useful for holidays, company events, or terminations.
# Connect to Exchange Online
Connect-ExchangeOnline -UserPrincipalName [email protected]
# Import CSV of users with their messages and date range
$Users = Import-Csv "C:\Scripts\outofoffice.csv"
foreach ($user in $Users) {
Set-MailboxAutoReplyConfiguration -Identity $user.UserPrincipalName `
-AutoReplyState Scheduled `
-StartTime $user.StartTime `
-EndTime $user.EndTime `
-InternalMessage $user.InternalMessage `
-ExternalMessage $user.ExternalMessage
}
UserPrincipalName,StartTime,EndTime,InternalMessage,ExternalMessage
[email protected],5/6/2025 08:00,5/10/2025 17:00,"I'm out of the office.","Thank you for reaching out. I’ll respond after my return."
Make sure date/time format matches your system locale.
You can adjust messages per user or use static content.
Useful for managing departments, terminated accounts, or planned leaves.
Bulk Out of Office Scheduler
🔗 View on GitHub
© 2012–2025 Jet Mariano. All rights reserved.
For usage terms, please see the Legal Disclaimer.