Question on the BookInPolicy string
Hi everyone,
I have a small difficulty to use Exchange 2007 Powershell and need some help:
I can run correctly
set-mailboxcalendarsettings -id (resourceID) -BookInPolicy "a@company.com"
and
set-mailboxcalendarsettings -id (resourceID) -BookInPolicy "b@company.com"
but getting Object Not Found errors to add two addresses when using space or "," or ";" or ", " or "; " to separate the two addresses:
set-mailboxcalendarsettings -id (resourceID) -BookInPolicy "a@company.com b@company.com"
Could someone please let me know what is the correct format of the String?
Thanks in advance,
Eric
March 23rd, 2010 6:58pm
I figured it out.
$users = ('a@company.com', 'b@company.com')
set-mailboxcalendarsettings -id (resourceID) -BookInPolicy $users
Free Windows Admin Tool Kit Click here and download it now
March 23rd, 2010 7:22pm
Hi
Sure, you could achieve your target using the command line above.But, per my known, one could allows a list of users to submit in-policy meeting requests to the special resource, you could follow below and try again,Set-CalendarProcessing -Identity "reourceID" -BookInPolicy "A@yourdomain","B@yourdomain”You could refer to below link:http://technet.microsoft.com/en-us/library/bb124542.aspxRegards!gavin
March 29th, 2010 9:37am
What would you do if you had existing bookinpolicy users? Both of the above will overwrite any existing IDs in that field.
-Kelly
Free Windows Admin Tool Kit Click here and download it now
March 30th, 2010 3:26pm