Category: Active Directory
Search for an email address in Exchange / Active Directory
Open Active Directory Users and Computers. Right click on the domain and choose find. Change to custom search in the find field. Click on the advanced tab to enter a LDAP query. LDAP query to find the email address firstname.lastname@example.org: proxyAddresses=smtp:email@example.com LDAP query to find all objects that uses the email domain domain.com: proxyAddresses=smtp:*@domain.com
Restore a deleted Active Directory object with PowerShell
This requires that you have enabled the enable Active Directory Recycle Bin before you deleted the object. Run Windows PowerShell as Administrator. Start by loading the Active Directory module for Windows PowerShell: Import-Module ActiveDirectory List all deleted users (for some reason computer objects also are included when you use objectclass -eq “user): get-adobject -filter ‘objectclass […]
A disabled user account stil receives e-mail
When you have a user account disabled in Active Directory the users mailbox still receives e-mail. To end this behavior you need to delete the user account in Active Directory (this also deletes the mailbox) or disabling the mailbox in Exchange Management Console. Disabling the mailbox in EMC actually deletes the mailbox.