Edit

Share via


Set-EventsFromEmailConfiguration

This cmdlet is available only in the cloud-based service.

Use the Set-EventsFromEmailConfiguration cmdlet to modify the events from email settings on a mailbox. on Outlook clients and Outlook on the web. These settings define whether Outlook or Outlook on the web (formerly known as Outlook Web App) automatically discovers events from email messages and adds them to the user's calendar.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

Identity (Default)

Set-EventsFromEmailConfiguration
    [-Identity] <RecipientIdParameter>
    [-CreateEventsFromEmailAsPrivate <Boolean>]
    [-EventReservationProcessingLevel <String>]
    [-FlightReservationProcessingLevel <String>]
    [-FoodEstablishmentReservationProcessingLevel <String>]
    [-InvoiceProcessingLevel <String>]
    [-LodgingReservationProcessingLevel <String>]
    [-ParcelDeliveryProcessingLevel <String>]
    [-RentalCarReservationProcessingLevel <String>]
    [-ServiceReservationProcessingLevel <String>]
    [<CommonParameters>]

ResetSettings

Set-EventsFromEmailConfiguration
    [-Identity] <RecipientIdParameter>
    [-ResetSettings]
    [<CommonParameters>]

Description

You need to be assigned permissions before you can run this cmdlet. Although this article lists all parameters for the cmdlet, you might not have access to some parameters if they aren't included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.

Examples

Example 1

Set-EventsFromEmailConfiguration -Identity peter@contoso.com -InvoiceProgressingLevel Disabled

This example disables the discovery of invoices from messages for the user.

Example 2

Set-EventsFromEmailConfiguration -Identity peter@contoso.com -ServiceReservationProcessingLevel Calendar -CreateEventsFromEmailAsPrivate $true

This example enables the discovery of service reservations, automatically adds them to the user's calendar, and makes these automatically added events private.

Example 3

Set-EventsFromEmailConfiguration -Identity peter@contoso.com -ResetSettings

This example resets Events from Email settings for the user.

Parameters

-CreateEventsFromEmailAsPrivate

Applicable: Exchange Online

The CreateEventsFromEmailAsPrivate parameter specifies whether to create the events discovered from messages as normal or private events. Valid values are:

  • $true: The events are crated as private events. This value is the default.
  • $false: The events are created as normal events.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-EventReservationProcessingLevel

Applicable: Exchange Online

This parameter is deprecated and no longer used.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-FlightReservationProcessingLevel

Applicable: Exchange Online

The FlightReservationProcessingLevel parameter specifies whether flight reservations are automatically discovered from messages, and whether these reservations are automatically added to the user's calendar. Valid values are:

  • Disabled: Do not discover flight reservations from messages.
  • Email: Discover flight reservations from messages, but don't automatically add them to the user's calendar.
  • Calendar: Discover flight reservations from messages and automatically add them to the user's calendar. This value is the default.

These values are case sensitive.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-FoodEstablishmentReservationProcessingLevel

Applicable: Exchange Online

This parameter is deprecated and no longer used.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Identity

Applicable: Exchange Online

The Identity parameter specifies the mailbox that you want to modify. You identify the mailbox by email address.

Parameter properties

Type:RecipientIdParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-InvoiceProcessingLevel

Applicable: Exchange Online

This parameter is deprecated and no longer used.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LodgingReservationProcessingLevel

Applicable: Exchange Online

The LodgingReservationProcessingLevel parameter specifies whether lodging reservations are automatically discovered from messages, and whether these reservations are automatically added to the user's calendar. Valid values are:

  • Disabled: Do not discover lodging reservations from messages.
  • Email: Discover lodging reservations from messages however do not automatically add these to the user's calendar.
  • Calendar: Discover lodging reservations from messages and automatically add them to the user's calendar. This value is the default.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ParcelDeliveryProcessingLevel

Applicable: Exchange Online

The ParcelDeliveryProcessingLevel parameter specifies whether parcel deliveries are automatically discovered from messages, and whether these reservations are automatically added to the user's calendar. Valid values are:

  • Disabled: Do not discover parcel deliveries from messages.
  • Email: Discover parcel deliveries from messages however do not automatically add these to the user's calendar.
  • Calendar: Discover parcel deliveries from messages and automatically add them to the user's calendar. This value is the default.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RentalCarReservationProcessingLevel

Applicable: Exchange Online

The RentalCarReservationProcessingLevel parameter specifies whether rental car reservations are automatically discovered from messages, and whether these reservations are automatically added to the user's calendar. Valid values are:

  • Disabled: Do not discover rental car reservations from messages.
  • Email: Discover rental car reservations from messages, but don't automatically add them to the user's calendar.
  • Calendar: Discover rental car reservations from messages and automatically add them to the user's calendar. This value is the default.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResetSettings

Applicable: Exchange Online

The ResetSettings switch specifies whether to return all of the reservation discovery settings to their default values. You don't need to specify a value with this switch.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ResetSettings
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ServiceReservationProcessingLevel

Applicable: Exchange Online

This parameter is deprecated and no longer used.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.