Exch2007 Powershell Script Resource Mailbox Permissions
Hi Guys,
Just a quick one today ;)
I'm a scripting noob and am looking for a simple way of assigning a delegate to ALL of the resource mailboxes in one go. I've seen and used plenty of examples of how to do it to a single Resource Mailbox. But I'm lazy and would like to know if it is possible
to assign a person, or persons, to be the Delegate for ALL of the Resource and Equipment mailboxes on the server, or in the particular database.
March 21st, 2011 1:52am
This should work:
get-mailbox -ResultSize unlimited | ? {$_.ResourceType -ne $null} | Set-CalendarProcessing -ResourceDelegates "ed@contoso.com","ayla@contoso.com","tony@contoso.com"DJ Grijalva | MCITP: EMA 2007/2010 | www.persistentcerebro.com
Free Windows Admin Tool Kit Click here and download it now
March 21st, 2011 11:05am
Hi,
If you are running Exchange 2007, you should use cmdlet Set-MailboxCalendarSettings:
How to Set a Delegate on a Resource Mailbox
http://technet.microsoft.com/en-us/library/bb124973(EXCHG.80).aspx
Frank Wang
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tngfb@microsoft.com
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
March 22nd, 2011 4:02am
Tried this DJ and got back:
The term 'Set-CalendarProcessing' is not recognized as the name of a cmdlet, function, script file, or operable program
Free Windows Admin Tool Kit Click here and download it now
March 22nd, 2011 9:44pm
How about Set-MailboxCalendarSettings?
Set-CalendarProcessing is the cmdlet in Exchange 2010.Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
March 23rd, 2011 2:56am
Sorry about that, I got Ex 2010 on the brain lately,
get-mailbox -ResultSize unlimited | ? {$_.ResourceType -ne $null} | Set-MailboxCalendarSettings -ResourceDelegates "ed@contoso.com","ayla@contoso.com","tony@contoso.com"
DJ Grijalva | MCITP: EMA 2007/2010 | www.persistentcerebro.com
Free Windows Admin Tool Kit Click here and download it now
March 23rd, 2011 12:13pm
Hi DJ,
Please check whether you have the permission to run the cmdlet "Set-CalendarProcessing".
Can you use the "Tab" key to find the cmdlet?
Details,please see:
Set-CalendarProcessing
http://technet.microsoft.com/en-us/library/dd335046.aspx
Frank Wang
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tngfb@microsoft.com
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
March 24th, 2011 3:54am
Hi DJ,
Any updates?Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
March 25th, 2011 11:44am