Geeks With Blogs
Michel Klomp Monitoring and Scripting

the following snippet can be used to add more than one user to the grantsendonbehalfto property with Powershell and the Exchange Management Shell

get-mailbox dummy |set-mailbox -grantsendonbehalfto “testuser3″

$a = get-mailbox testuser2 | select-object grantsendonbehalfto
$b = get-mailbox dummy| select-object grantsendonbehalfto

$a.grantsendonbehalfto += $b.grantsendonbehalfto[0]

get-mailbox testuser2 |set-mailbox -grantsendonbehalfto $($a.grantsendonbehalfto)

Posted on Tuesday, March 15, 2011 3:43 AM | Back to top


Comments on this post: Send on behalf for Multiple users on a mailbox

# re: Send on behalf for Multiple users on a mailbox
Requesting Gravatar...

Get-mailbox "mailbox name" | Set-mailbox -Grantsendonbehalfto "user email address","user email address".
Left by Darshan on Jul 20, 2015 10:20 PM

Your comment:
 (will show your gravatar)


Copyright © Michel Klomp | Powered by: GeeksWithBlogs.net