Additional Response add in Resource mailbox

Hello Team,

Can you please help me in this.

we have a request from Bluck mailbox that is Resource mailbox. in that automatic reply need to be set, that usually comes when anybody accept the meeting for that Resouurce mailbox.
So some additional message need to add in all mailboxes.. numbers are 100 mailboxes.

So please tell the automated way to do thisin one go

Addy NadiaExpertAsked:
Who is Participating?
jrhelgesonConnect With a Mentor Commented:
You'll have to incorporate linefeed or newline escape characters into the text you are importing - these are usually `n  - that's the symbol that shares the ~key.  

will display as:

Also, in reviewing the code, you may need to encapsulate $line.Response in quotes, because it will strip the quotes out as it imports the CSV value.  You'll need to test that.

So change line 3 to be:
Set-CalendarProcessing -Identity "$line.Identity" -AddAdditionalResponse:$true  -AdditionalResponse: "$line.Response"

Open in new window

Addy NadiaExpertAuthor Commented:
I mean yo set :

Customize the Response Message for Resource Scheduling

For one mailbox i think we used this command :

Set-CalendarProcessing -Identity "Car 54" -AddAdditionalResponse:$true  -AdditionalResponse:"All requests for Car 54 are subject to approval."

If this correct, then what would be command if want to give the same to multiple Resource mailboxes
It looks like you'd just change the text of "Car 54" to whatever the resource mailbox would be.

Do you have a list of the resource mailboxes?
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Addy NadiaExpertAuthor Commented:
Yes, i have list of Resource mailboxes name and also the additonal message is not of single line.. its of 4 5 lines.

So i need the command so that it take the input of  Resource mailbox alias the message from the Text file..
Is it the same 4-5 lines of text, but just the subject/object referenced is different?

This is going to require powershell scripting to get it done, which I'm working on.  In the meantime, what I can tell you is that you'll need to put all the data into a tab delimited file so that it looks like this:
Identity	Response
"Car 54"	"All requests for Car 54 are subject to approval."
"Car 55"	"All requests for Car 55 are subject to approval."

Open in new window

Easy way to do this is put all the info into an Excel Spreadsheet then export the spreadsheet to a .CSV file (text file).  Be sure to have the text encapsulated in quotes.
Addy NadiaExpertAuthor Commented:
Yes it the 4-5 lines of information mail that user want to send all users when they send the booking is something likr instructions for the room

So i need command through which i can input the mailboxes name and the text file that contain the additional response...

Thanks for working on it..i appreciate and i hope u will help me in this.
CSV File Layout must look like this when viewed in a text editor. The header line is important (Line 1 is the header line, and the values must match the $line.Variable used in the powershell command):
"Car 54","All requests for Car 54 are subject to approval."
"Car 55","All requests for Car 55 are subject to approval."

Open in new window

Save the file above as .csv, and then run the following command (below):
$csv = Import-Csv c:\path\to\your.csv
foreach ($line in $csv) {
    Set-CalendarProcessing -Identity $line.Identity -AddAdditionalResponse:$true  -AdditionalResponse: $line.Response

Open in new window

Addy NadiaExpertAuthor Commented:
Still..some problem in this.

As i said..response messagebis not for single line it is of 5 lines response gow can we proceed with that
Addy NadiaExpertAuthor Commented:
Ok i will test this nd let u know.
The csv file u suggested i will show you once i will run the command.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.