This is not the most concise way to do it. I just find it understandable this way.
#Get current list of users $mailbox=get-mailbox "HelpDesk" $SendList=$mailbox.GrantSendOnBehalfTo #Add to list of users $newperson=get-user "NewPerson" $SendList=$SendList + $newperson #Set new list Set-Mailbox "HelpDesk" -GrantSendonBehalfTo $SendList
For more details about why this works see my posting on adding additional managers to a distribution group at http://byronwright.blogspot.com/2011/08/adding-additional-distribution-group.html. It uses a similar process to modify the list of managers
No comments:
Post a Comment