Archive

Archives pour 12/10/2009

Ajouter FullAccess et SendAs sur une boite.

Bien que les petits boutons soient apparu depuis Exchange 2007 SP1. Ce script reste plus rapide.
?View Code POWERSHELL
$mbal = Read-Host "Please enter the mailbox"
$musr = Read-Host "Please enter the user"
 
Add-MailboxPermission -DomainController dc1.domain.local -Identity "$mbal" -AccessRights FullAccess -InheritanceType All -User "$musr" | Add-ADPermission -DomainController dc1.domain.local -ExtendedRights Send-As -AccessRights ReadProperty,WriteProperty -Properties 'Personal Information' -User "$musr"