Avatar of Michael Leonard
Michael Leonard
Flag for United States of America asked on

looking for a quest AD commandlet to extend the viewable booking time on a room mailbox

can someone provide a POSH script to extend the viewable booking time on a room mailbox from 180 days to 1 year?
i have about 200 to run this command on.

many thanks!

s.
PowershellExchangeActive Directory

Avatar of undefined
Last Comment
Michael Leonard

8/22/2022 - Mon
Adam Brown

What version of Exchange are you using?
Michael Leonard

ASKER
exchange 2010 sp1 with hotfix rollup.

thx
ASKER CERTIFIED SOLUTION
Adam Brown

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Michael Leonard

ASKER
thanks, how can i modify this to pull from a serverlist.txt file [so i can bulk update 200+]
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Adam Brown

If you are trying to update *all* the Room calendars, then the above cmdlet will do it for you. To do it with a file, you would want to make a CSV file with the list of mailbox names. Set the first line to be mailboxname

Then the following command will take care of it.
import-csv <path to CSV> | %{$mailbox = $_.mailboxname
set-calendarprocessing -identity $mailbox -bookingwindowindays 365}

Open in new window

Michael Leonard

ASKER
thanks! ill test this in the lab shortly.
Michael Leonard

ASKER
works perfect! thx again
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.