dougdog
asked on
whats the best way to give a user account full mailbox access to all exchange 2010 mailboxes and new ones that will be created
i need to give a user account full mailbox access to all other exchange 2010 mailboxes
this account also needs to have full mailbox access to any new mailboxes that get created in the future
this account also needs to have full mailbox access to any new mailboxes that get created in the future
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
You could use PowerShell ISE, copy the cmdlet for each database and then save it as .PS1
Yes, you'd need to run it for each new user created unless you're already creating the mailboxes via powershell..
Thanks
You could use PowerShell ISE, copy the cmdlet for each database and then save it as .PS1
Yes, you'd need to run it for each new user created unless you're already creating the mailboxes via powershell..
Thanks
I'd go with Group Policy as I thinks this can be done.
http://technet.microsoft.com/en-us/library/cc875827.aspx
However this would also work if you were only trying to add permission on the accounts which were created within the last 7 days.
$week = (Get-Date).AddDays(-7)
Get-MailboxDatabase "Name of database" | where { $_.whenCreated -ge $week } Add-MailboxPermission -User userid -AccessRights FullAccess
http://technet.microsoft.com/en-us/library/cc875827.aspx
However this would also work if you were only trying to add permission on the accounts which were created within the last 7 days.
$week = (Get-Date).AddDays(-7)
Get-MailboxDatabase "Name of database" | where { $_.whenCreated -ge $week } Add-MailboxPermission -User userid -AccessRights FullAccess
To run it for all mailbox databases, just leave off the mailbox database name.
e.g.
Get-MailboxDatabase | Add-MailboxPermission -User userid -AccessRights FullAccess
e.g.
Get-MailboxDatabase | Add-MailboxPermission -User userid -AccessRights FullAccess
ASKER
And do I need to run it after new users are created