ianb
Posts: 268
Status: offline
|
Yes that should be for the mails in the mailbox I suggest you use the EWS method. The below is the commandlet (replace domain\username)... foreach ($exchangeServer in Get-ExchangeServer) { if ($exchangeServer.ServerRole -match 'ClientAccess') { Add-ADPermission -Identity $exchangeServer.DistinguishedName -User 'domain\user' -ExtendedRights ms-Exch-EPI-Impersonation } }
_____________________________
Ian Bugeja Software Developer - GFI Software - www.gfi.com Messaging, Content Security & Network Security Software
|