Link to home
Start Free TrialLog in
Avatar of Michael Leonard
Michael LeonardFlag 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.
Avatar of Adam Brown
Adam Brown
Flag of United States of America image

What version of Exchange are you using?
Avatar of Michael Leonard

ASKER

exchange 2010 sp1 with hotfix rollup.

thx
ASKER CERTIFIED SOLUTION
Avatar of Adam Brown
Adam Brown
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks, how can i modify this to pull from a serverlist.txt file [so i can bulk update 200+]
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

thanks! ill test this in the lab shortly.
works perfect! thx again