Rexxer

Some tips for me and other

Exchange

Exchange + Remove messages from outbound queue

Remove-Message -Filter {Subject -eq “FYI”} -WithNDR $false Remove-Message -Filter {FromAddress -eq “j.smith@mail.com”} -WithNDR $false

Outlook + Disable MAPI/HTTP

Create the following key: HKCU\Software\Microsoft\Exchange Create a new DWORD value named MapiHttpDisabled and set the value to 1

Exchange 2010 + Default Folder Permissions

Exchange 2007 CAS Role VDir Authentication SSL Management done through Default Web Site Anonymous Yes IIS and HTTP Keep Alive should be on /Owa Basic Yes EMC/Powershell /Exchange Basic Yes EMC/Powershell /Public Basic Yes EMC/Powershell /Exchweb Basic Yes EMC/Powershell /Oab Integrated No EMC/Powershell /Autodiscover Basic and Integrated Yes Powershell /Ews Integrated Yes Powershell /UnifiedMessaging Integrated […]

Exchange + Search mail

get-mailbox -resultsize unlimited | Search-Mailbox -SearchQuery ‘attachment:”Filename”‘ -TargetMailbox UserName -TargetFolder “FolderName” -LogOnly -LogLevel Ful another lookup: Search-Mailbox -Identity “vasya.pupkin” -SearchQuery “to:domainname.com” -TargetMailbox “ivan.ivanov” -TargetFolder “Folderame” -LogLevel Full

Exchnage + Restore Deleted Items between dates

Search-Mailbox -identity ivan.ivanov -SearchDumpsterOnly -SearchQuery “Received:2016-01-01..2016-04-01” -TargetMailbox ForDeletedMail -TargetFolder RestoredDeleted Another example: Search-Mailbox Superman -SearchDumpster -SearchQuery “(Received:1/1/2012..5/18/2016) AND (To:Batman@DC.com OR From:Batman@DC.com OR CC:Batman@DC.com OR BCC:Batman@DC.com OR ‘Batman’ OR ‘Bruce’ OR ‘Wayne’)” –targetmailbox BobTheLawyer -loglevel full -targetfolder “Search_Batman” Keywords for SearchQuery: https://msdn.microsoft.com/library/ee558911%28v=office.15%29.aspx?f=255&MSPPError=-2147217396 Script (I haven’t try it): https://blogs.msdn.microsoft.com/emeamsgdev/2012/04/27/powershell-script-to-recover-all-deleted-items-in-a-mailbox/

Exchange 2010 + Changes in renewing certificates 2016

Copy-pasted from: http://brattex.blogspot.com/2012/09/renew-exchange-2010-certificate.html Renew Exchange 2010 Certificate generates a binary file – conversion to base64 tips When renewing an SSL certificate for Exchange 2010, the process is fairly straightforward and there are plenty of sites to give advice on how to do this. Two sites to consider would be Technet and Go Daddy and the steps are summarised as […]

Exchange + Delete recoverable items from a mailbox

1. Check for the statistics of recoverable items folder: Get-MailboxFolderStatistics -Identity “FirstName LastName” -FolderScope RecoverableItems | Format-List 2) This command will delete items from the Recoverable items folder. Search-Mailbox -Identity “FirstName LastName” -SearchDumpsterOnly -DeleteContent

DKIMValidator

http://dkimvalidator.com/

Exchange 2010 + allow users to manage contacts

Copy-pasted from: http://blogs.technet.com/b/rmilne/archive/2013/08/07/creating-rbac-role-to-delegate-contact-management.aspx Building Blocks We will need to permit: Management of Distribution Groups in Active Directory Creation and management of Mail Enabled Contacts in Active Directory Management toolset to manage the above Management of Distribution Groups Exchange 2010 does not allow a user to manage groups that they own by default.  All of the […]

Manage DL from Outlook + fix

Add-ADPermission –identity “YourDistributionGroup” –User “YourUser” –AccessRights WriteProperty –Properties “Member”

Previous Posts