Setting Exchange Permissions to Multiple Users
Hello ,I am trying to set two users have fullaccess on one mailbox consecutively with following commands: function GrantAccess ([string] $mailbox, [string] $user1, [string] $user2) {Add-MailboxPermission $mailbox -User $user1 -AccessRights FullAccessAdd-MailboxPermission $mailbox -User $user2 -AccessRights FullAccess}My problem is, while still trying to set permission for user1, it appears that exchange cannot begin to set permission to user2 and a blueish messagebox pops up inside shell console saying: Processing access control entries.Processing access control entries for object '.../Users/mailbox'.Since these commands reside inside a .ps1 file they should be running in the same thread but i need some kind of a serial execution in exchange side. Any idea will be so much appreciated
November 26th, 2008 7:25pm
You can create a security group for the users who needs to access that mailbox, and then add the Full Access permission to this group. Late, you just need to add users to the group if therere users require for permission again
Related thread:
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=4166484&SiteID=17
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1413082&SiteID=17
Free Windows Admin Tool Kit Click here and download it now
November 27th, 2008 12:10pm
thanks for replying James.The thing is, those users that i mentioned are actually two different security groups I need to give both groups this permission.
November 27th, 2008 3:19pm