Quick tip:

In your organization, you get a call from a departmental managers secretary to advise he/she forget to set there Out of Office and have requested you to do so.

To set it, quickly launch the Exchange Management Shell (EMS) and run the following command:

  • Set-MailboxAutoReplyConfiguration -Identity User1 -AutoReplyState Enabled -InternalMessage “Playing golf with a client” -ExternalMessage “I am on vacation with limited access to email”
Exchange 2019:- how do i open the exchange management shell on windows server 2019 core?

Update the internal and external message to whatever is required. Wait for replication and all should be set.

To check the state of the Out of Office, run the following command:

  • Get-MailboxAutoReplyConfiguration User1
Exchange 2019:- how do i open the exchange management shell on windows server 2019 core?

Hope it helps.

    wpChatIcon

    Discover more from Everything-PowerShell

    Subscribe now to keep reading and get access to the full archive.

    Continue reading