Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 2.45 KB

Set-CIPPOOO.md

File metadata and controls

48 lines (39 loc) · 2.45 KB

Set-CIPPOOO

SYNOPSIS

Sets the out of office settings for a user.

DESCRIPTION

The Set-CIPPOOO function is used to set the out of office settings for a user in a customer's Exchange environment. It allows you to specify the customer tenant ID, user, auto reply state, external message, internal message, start time, and end time for the out of office settings.

PARAMETERS

-CustomerTenantID

Foo Foo
The ID of the customer's tenant.

-User

Foo Foo
The user for whom the out of office settings should be set.

-autoreplystate

Foo Foo
The auto reply state. Valid values are 'Scheduled', 'Disabled', or 'Enabled'.

-externalmessage

Foo Foo
The external message to be sent as an auto reply.

-internalmessage

Foo Foo
The internal message to be sent as an auto reply.

-endtime

Foo Foo
The end time for the out of office settings. This parameter is mandatory when autoreplystate is 'Scheduled'.

-starttime

Foo Foo
The start time for the out of office settings. This parameter is mandatory when autoreplystate is 'Scheduled'.

EXAMPLE 1

PS > Set-CIPPOOO -CustomerTenantID "contoso.onmicrosoft.com" -User "[email protected]" -autoreplystate "Disabled"

EXAMPLE 2

PS > Set-CIPPOOO -CustomerTenantID "contoso.onmicrosoft.com" -User "[email protected]" -autoreplystate "Enabled"

EXAMPLE 3

PS > Set-CIPPOOO -CustomerTenantID "contoso.onmicrosoft.com" -User "[email protected]" -autoreplystate "Enabled" -externalmessage "I'm currently out of office." -internalmessage "I'm currently out of office." -starttime 2024-06-21 14:00" -endtime "2024-06-21 14:30""