So I'm trying to figure this out. Basically, I want to assign a distribution group rights to the calendar of everyone in a specified OU. I found an MSDN blog where someone is doing something very similar:
http://blogs.msdn.com/b/pepeedu/arc...ox-calendar-permissions-using-powershell.aspx
I change the first bit of that to get-mailbox -organizationalunit OU and get the listing of users I want. This command with all the proper data changed throws me all sorts of errors. I've tried piping commands, like getting a list of the mailboxes I want using get mailbox, and then piping that to a set-mailboxfolderpermission but the user variable there would need to be another group for this to work, and according to the Technet definition it only accepts Alias or SMTP. I was hoping it would accept a distribution group as the user, but it does not.
Does anyone have any idea on how to accomplish this?
http://blogs.msdn.com/b/pepeedu/arc...ox-calendar-permissions-using-powershell.aspx
I change the first bit of that to get-mailbox -organizationalunit OU and get the listing of users I want. This command with all the proper data changed throws me all sorts of errors. I've tried piping commands, like getting a list of the mailboxes I want using get mailbox, and then piping that to a set-mailboxfolderpermission but the user variable there would need to be another group for this to work, and according to the Technet definition it only accepts Alias or SMTP. I was hoping it would accept a distribution group as the user, but it does not.
Does anyone have any idea on how to accomplish this?
