remove mailbox permissson
Hi i hava about 2000 user and i want to remove some mailbox permission. ebackup user has a full permisson for all mailbox
how can i remove this users permisson from all mailbox ? There are two type permisson full acces permisson ans send as permisson.
i need managemend shell command for all mailbox
for full accespermisson and send as permisson.
thxelieah
June 28th, 2010 3:55pm
Hi,
If these users are in a single OU then
get-mailbox -OrganizationalUnit "ADDomain.com\YourOU" -resultSize Unlimited | foreach{
get-mailboxPermission $_.Identiy -user ebackup |Remove-mailboxPermission
}
or you can get users from a text or CVS file and then can get them using get-content or import-CSV file and then remove permission.
Regards,
Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM)
www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2010 4:07pm