Exchange
Exchange 2010 + Modifying a banner for a receive connector
Get-ReceiveConnector Set-ReceiveConnector –identity “Your Connector Name” –Banner “220 mail.company.com” Get-ReceiveConnector “Your Connector Name” | fl
Exchange 2010 + Work with queues
1. Get the queue list C:\>get-queue -server your-server Identity DeliveryType Status MessageCount NextHopDomain ——– ———— —— ———— ————- yourserver\183671 DnsConnec… Ready 0 gmail.com yourserver\Submission Undefined Ready 0 Submission yourserver\Shadow\151617 ShadowRed… Ready 1 yourserver 2. Export all the messages from a queue, e.g.: $exp = get-queue -queue “yourserver\183671″ $exp | ForEach-Object { $Temp=”C:\Export\”+$_.InternetMessageID+”.eml”; $Temp=$Temp.Replace(“<“,”_”); $Temp=$Temp.Replace(“>”,”_”); Export-Message […]
Exchange 2010 + Converting into VM
I have 2 multi role Exchange servers in a DAG (VM + Physical), a load balancer (2 instances in LVS). I need to convert the physical server into VM. 1. Make “Switchover server” or “Move active database” to move DBs to another server from console or via powershell. 2. Check that DBs don’t have sync […]
Exchange 2010 + Recreating an account + Undeliverable message
Users complained about “undeliverable message” after recreating an account for the some users. It causes old autocomplete cache on user’s PCs. The Fix from http://community.spiceworks.com/topic/174356-exchange-2010-user-mailbox-recreated: 1. Go into a users machine who has the nk2 cached and open their outlook 2. Create a new mail message and start typing the restored mailbox SMTP address […]
Exchange 2010 + Powershell + Restore permanently deleted items in mailbox (in a retention period)
There is the script: http://blogs.msdn.com/b/emeamsgdev/archive/2012/04/27/powershell-script-to-recover-all-deleted-items-in-a-mailbox.aspx There is the EWS Managment API (ver. 2.2): http://www.microsoft.com/en-us/download/details.aspx?id=42951 – it needs to run the script. Usage example: ./RecoverDeletedItems.ps1 -Mailbox john.smith@contoso.com I ran it as administrator on an Exchange server.
Exchange 2010 + Delayed incoming mail (hours)
Once our recipients complained to me about delays in receiving mail from web-service. I checked the logs for smtp-receiver and found e.g.: Tarpit for ‘0.00:00:00.312’ due to ‘DelayedAck’,Delivered In my case I have Exchange behind SPAM-Filter ,so I clean delays for all my receive-connectors with the command: get-ReceiveConnector | Set-receiveconnector -tarpitinterval 00:00:00 get-ReceiveConnector | Set-receiveconnector […]
Offline Address Book Fails to Download in Exchange 2010
I met the strange behavior with downloading OAB from Outlook after renewing a certificate – it was to long processing and seemed unsuccessfull (no new records were downloaded). Found this solution – it helped. Copy-pasted from: http://www.concurrency.com/blog/offline-address-book-fails-to-download-in-exchange-2010/ I ran into an interesting issue where the Exchange 2010 OAB failed to download to Outlook 2010, 2007, and […]
Exchange 2010 + Outlook + New feature: Room Finder
With the new feature “Room Finder” in Outlook (Create new meeting) you can choose a meeting room and check availability, conflicts. Beforehand you have to create distribution groups for it e.g.: New-DistributionGroup “Meeting Rooms” -RoomList Then you can add rooms as members: Add-DistributionGroupMember -Identity “Meeting Rooms” -Member room1 Then you can check it in Outlook […]
Exchange + export e-mail for specific time interval
Example: New-MailboxExportRequest -ContentFilter {(Received -lt ’08/07/2014′) -and (Received -gt ’08/05/2014′)} -Mailbox “ivan.ivanov” -Name david.jones -FilePath \\exchange1\ExportedPST\ivan.ivanov.pst
Exchange + redirecting OWA + unifying OWA link
1. Go to the IIS Console and open Default Web Site. 2. Open HTTP Redirect and tick “Redirect request to this destination:” and type your new link e.g.: mail.firm.local. 3. Tick “Only redirect request to content .. (not subdirectories)” . 4. Untick the redirection for: aspnet_client, autodoscover, ecp, ews, microsoft-server-activesync, oab, powershell, rpc. 5. Warning: […]