ChiIT
asked on
How to remove DeleteItem permission on exchange mailbox
Hi Experts, I've run an exchange powershell command to give me a listing of AccessRights for mailboxes on an Exchange 2010 server.
There are 2 users who have a listing for DeleteItem acccess from AD users who are disabled and who no longer have email boxes.
How can I remove those accesses, either through the command console or exchange powershell?
This is the powershell command I ran from this site http://exchangeserverpro.com/list-users-access-exchange-mailboxes/
Get-Mailbox | Get-MailboxPermission | where {$_.user.tostring() -ne "NT AUTHORITY\SELF" -and $_.IsInherited -eq $false} | Select Identity,User,@{Name='Acce ss Rights';Expression={[strin g]::join(' , ', $_.AccessRights)}} | Export-Csv -NoTypeInformation mailboxpermissions.cs
There are 2 users who have a listing for DeleteItem acccess from AD users who are disabled and who no longer have email boxes.
How can I remove those accesses, either through the command console or exchange powershell?
This is the powershell command I ran from this site http://exchangeserverpro.com/list-users-access-exchange-mailboxes/
Get-Mailbox | Get-MailboxPermission | where {$_.user.tostring() -ne "NT AUTHORITY\SELF" -and $_.IsInherited -eq $false} | Select Identity,User,@{Name='Acce
ASKER
Hi Henrik, where do I put the users account ID and also how does it know to only delete the DeleteItem permission?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window