Avatar of Kasper Katzmann
Kasper KatzmannFlag for Denmark asked on

Adding multiple Users to BookInPolicy in Exchange 2010

Am I desperate? Yes I am!

I need to add multiple users to the Bookinpolicy in multiple RoomMailboxes, but I just can't get it to work

I have a csv-file formated like this:
RoomAlias,UserAliases
Room1,"user1,user4,user81"
Room4,"user43,user5,user1,user4"
Room12,"user2,user1,user55"

I have tried with this an some other scipts, but with no success.
$rooms	= Import-csv c:\tools\csv\rooms.csv

foreach($room in $rooms){

	Set-CalendarProcessing `
		-Identity $room.roomalias `
		-BookinPolicy $room.UserAliases `
		-AllBookInPolicy $false

}

Open in new window

Can anyone help me out here?
ExchangePowershell

Avatar of undefined
Last Comment
Subash Sundharan

8/22/2022 - Mon
Subash Sundharan

ASKER
Kasper Katzmann

Thats some of the scripts I have testet.
The first one is written for Exchange 2007 (i think).

The other scripts gives me errors as well.
ASKER CERTIFIED SOLUTION
Subash Sundharan

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck