Set-MailboxCalendarFolder -PublishDateRangeTo (How to set to ALL dates?)

Status
Not open for further replies.
V

vtek63

Exchange 2010 SP1 Update Rollup 1

I'm trying to set the publish date range for calendar publishing for a test mailbox. In the MS documents, it says that the -PublicDateRangeTo property can be set as " Whole" but when I try to do this, EMS gives me an error saying that the possible types are only " OneDay, ThreeDays, OneWeek, OneMonth, ThreeMonths, SixMonths, OneYear" .

Does anyone know how to set the date range to " Whole" or all dates?

Thanks!
 
E

Ed Crowley [MVP]

When I search the Internet for " PublicDateRangeTo" , the only place it comes up is in this post. What is the full command line you are using?

Ed Crowley MVP " There are seldom good technological solutions to behavioral problems."
 
E

Ed Crowley [MVP]

I just tested this in my own lab and it works fine. Please recheck your Exchange version and service pack, and post the exact text of what you entered if you can't make it work.

By the way, it looks to me like " Whole" is the default setting for -PublishDateRangeTo because when I set it, it told me that there was nothing changed.

Ed Crowley MVP " There are seldom good technological solutions to behavioral problems."
 
V

vtek63

I have calendar internet publishing setup properly. I currently have one shared with the date range set to OneYear. If you use OWA to share it, the longest date range option is only OneYear also. There is no " Whole" .

Exchange version 14.1 Build 218.15

This is the command and resulting error:

Set-MailboxCalendarFolder -Identity testroommailbox:\calendar -publishdaterangeto whole

Cannot process argument transformation on parameter 'PublishDateRangeTo'. Cannot convert value " whole" to type " Microso
ft.Exchange.Data.Storage.Management.DateRangeEnumType" due to invalid enumeration values. Specify one of the following
enumeration values and try again. The possible enumeration values are " OneDay, ThreeDays, OneWeek, OneMonth, ThreeMonth
s, SixMonths, OneYear" .
+ CategoryInfo : InvalidData: :)) [Set-MailboxCalendarFolder], ParameterBindin...mationException
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,Set-MailboxCalendarFolder
 
G

Gavin-Zhang

Hi vtek63,
Sure, it is odd, I also make a test, and esclate it, if there is new information, I would update here.
Regards!
Gavin
 
T

Tim McGuire

We have the exact same issue. One of my users needs at least 3 years...'Whole' would work but we get error as follows:

Cannot process argument transformation on parameter 'PublishDateRangeTo'. Cannot convert value " Whole" to type " Microso

ft.Exchange.Data.Storage.Management.DateRangeEnumType" due to invalid enumeration values. Specify one of the following

enumeration values and try again. The possible enumeration values are " OneDay, ThreeDays, OneWeek, OneMonth, ThreeMonth

s, SixMonths, OneYear" .
+ CategoryInfo : InvalidData: :)) [Set-MailboxCalendarFolder], ParameterBindin...mationException
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,Set-MailboxCalendarFolder

I REALLY nREALLY need this to work....Any updates....
 
K

kop精神

As far as I know, the following changes occur in Exchange 2010 SP1 when you modify the “PublishDateRangeto” Parameter:

· Remove “threeweeks” and “whole”

· Add “sixmonth”
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
A Run-time error '430' on certain emails when trying to set "Outlook.mailitem" as "ActiveExplorer.Selection.Item" Outlook VBA and Custom Forms 2
e_a_g_l_e_p_i Is it possible it set the fonts used to read incoming mail Using Outlook 25
bmtjedi Set objApp = Application Not Working in O365-32bit Using Outlook 1
F how do i set a reminder in onenote 2010 Using Outlook 8
glnz How set up new IMAP on Outlook-Office 365 and merge in pst from Outlook 2003 for same two email accounts? Using Outlook 5
ChrisK2 Send email to advertise@slipstick.com fails: "The group advertising isn't set up to receive messages from..." Using Outlook 3
S How to set up button in ribbon for individual Quick Steps Using Outlook 1
J Set Timer/Countdown on Emails? Outlook VBA and Custom Forms 3
N How to set automatically the default or user defined Quickstyle Templates by Answer in Outlook Using Outlook 1
Victor_50 Set all subfolders to not autoarchive Outlook VBA and Custom Forms 11
Z Script to set account? Using Outlook 0
4 Macro to set the category of Deleted Item? Outlook VBA and Custom Forms 2
J What is the best EntryID format to set on MS Access table Outlook VBA and Custom Forms 3
e_a_g_l_e_p_i Can you set reminder to specific times? Using Outlook 7
CWM030 I do not see a way to set the personal archive folder Exchange Server Administration 2
witzker Macro to set contact reminder to next day 9:00 Outlook VBA and Custom Forms 45
O Set columns for all (sub)folders Using Outlook 8
S Appointment-Cannot set Categories because ConversationID is not set Outlook VBA and Custom Forms 1
Fozzie Bear Correct Method to set up Outlook.com accounts as Exchange Using Outlook.com accounts in Outlook 7
e_a_g_l_e_p_i How to set fonts for emails in all folders in Outlook Using Outlook 1
F Set (flagged) reminder for next business day Using Outlook 4
L how to set downloaded cached emails Using Outlook 5
J Object Variable or With Block Not Set Error in Outlook 2016 and not Outlook 2013 Outlook VBA and Custom Forms 3
S set a flag task date as the next weekday Outlook VBA and Custom Forms 4
C Set reminder / appointment by right clicking email Using Outlook 1
Diane Poremsky Set Another Data File as Default When Using an Exchange Account New Slipstick.com Articles 0
R Macro to copy email to excel - Runtime Error 91 Object Variable Not Set Outlook VBA and Custom Forms 11
L set task reminder date to same as start date (without affecting due date) Using Outlook 0
S how to set user properties to a newly created appointment Outlook VBA and Custom Forms 12
C Outlook VBA to set current account Outlook VBA and Custom Forms 1
Diane Poremsky Add Attachments and Set Email Fields During a Mail Merge New Slipstick.com Articles 0
O How to set subject line in replies using VBA Outlook VBA and Custom Forms 1
A Custom form not showing when recurrence is set for a meeting Using Outlook 0
M Exchange 2013 On premise set MessageRateLimit for User has no effect. Exchange Server Administration 0
A Block user to send emails to specific set of email ids Using Outlook 1
D Outlook 2007 e-mail header- How to set font & font size in received message headers ? Using Outlook 2
Diane Poremsky Exchange account set-up missing in Outlook 2016 New Slipstick.com Articles 0
M To set the storage folder for an outgoing Outlook message Outlook VBA and Custom Forms 8
E Meeting reminders are set for the recipient Exchange Server Administration 9
M Help! Can't set up IMAP for gmail Using Outlook 2
P Last Change attribute set after viewing a public folder contact Exchange Server Administration 0
S Multiple Gmail account set up in Outlook 365 Using Outlook 1
Diane Poremsky Add attachments and set email fields during a mail merge to email New Slipstick.com Articles 0
D Script to parse email and set a task Outlook VBA and Custom Forms 1
K Outlook 2010 - Set the category based on category of other emails in same conversatio Using Outlook 20
A iCloud add-on for Outlook: Reminder for new appointment is set to 'None' by default. How to change? Using Outlook 6
A set onedrive calendar as default in Outlook Using Outlook.com accounts in Outlook 4
reefclaw Outlook 2013 Cannot set outlook.com account as default data file Using Outlook.com accounts in Outlook 3
Q set as default Using Outlook 5
R Notification/alert when an email has been sat in inbox for a set period of time Using Outlook 1
Similar threads


















































Top