The Set-MailboxCalendarFolder cmdlet configures publishing information. The calendar folder can be configured as follows:

Whether the calendar folder is enabled for publishing

Range of start and end calendar days to publish

Level of detail to publish for the calendar

Whether the published URL of the calendar is enabled for search on the Web

Published URL to display for the calendar

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "User options" entry in the Client Access Permissions topic.

The Identity parameter specifies the mailbox and folder path or folder name to the calendar folder that has the publishing settings configured. You can use the following values:

GUID

ADObjectID

Distinguished name (DN)

Domain\Account

User principal name (UPN)

LegacyExchangeDN

SmtpAddress

Alias

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch.

DetailLevel

Optional

Microsoft.Exchange.Data.Storage.DetailLevelEnumType

The DetailLevel parameter specifies the level of calendar detail that's published and available to anonymous users. Accepted values are:

AvailabilityOnly

LimitedDetails

FullDetails

The default value is AvailabilityOnly.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory.

PublishDateRangeFrom

Optional

Microsoft.Exchange.Data.Storage.Management.DateRangeEnumType

The PublishDateRangeFrom parameter specifies the number of days of calendar information to publish before the current date. You can use the following values:

OneDay

ThreeDays

OneWeek

ThreeWeeks

OneMonth

ThreeMonths

SixMonths

OneYear

Whole

The default value is ThreeMonths.

PublishDateRangeTo

Optional

Microsoft.Exchange.Data.Storage.Management.DateRangeEnumType

The PublishDateRangeTo parameter specifies the number of days of calendar information to publish after the current date. You can use the following values:

OneDay

ThreeDays

OneWeek

ThreeWeeks

OneMonth

ThreeMonths

SixMonths

OneYear

Whole

The default value is ThreeMonths.

PublishEnabled

Optional

System.Boolean

The PublishEnabled parameter specifies whether the specified calendar should be enabled for publishing. The default value is $true.

ResetUrl

Optional

System.Management.Automation.SwitchParameter

The ResetUrl parameter replaces the existing non-public URL with a new URL for a calendar that has been published without being publicly searchable.

SearchableUrlEnabled

Optional

System.Boolean

The SearchableUrlEnabled parameter specifies whether the published calendar URL can be searched on the Web. The default value is $false.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch.