Tag Archives: Exchange

Exchange 2010 Anti-Spam logs?

To check the Anti-Spam logs on a Exchange 2010 server, you can do this:

  • The default logs files for the antispam agents are on: %exchangeinstallpath%TransportRoles\Logs\AgentLog
  • At this location you can see a lot of files (see the image)
  • logs1
  • on this files there are each email processed
  • for example in my domain “domain.com “:
Facebooktwittergoogle_plusredditpinterestlinkedinmail

Read More ...

Exchange: Send Out of Office notices more than one time per User

when we activate the option out of office in exchange, only it allows us to send a mesage response by sender once the feature activated, sometimes it would be interesting to reset the counter of shipments (by user) to send the notice out of office again to the same sender.
An elegant solution is:

deactivate and reactivate the option of out of office by a task of powershell,

for instance:

ccreate a few scripts like this:

roof.ps1

Set-MailboxAutoReplyConfiguration mailbox1 -AutoReplyState Disabled;
Set-MailboxAutoReplyConfiguration mailbox2 -AutoReplyState Disabled;
Set-MailboxAutoReplyConfiguration mailbox3 -AutoReplyState Disabled;
....

soof.ps1:

Set-MailboxAutoReplyConfiguration mailbox1 -AutoReplyState Enabled;
Set-MailboxAutoReplyConfiguration mailbox2 -AutoReplyState Enabled;
Set-MailboxAutoReplyConfiguration mailbox3 -AutoReplyState Enabled;
....

create 2 scheduled taks (wait 1 minute one to other) to execute ,you can configure the schedule like you want, ( each day, each week , each hour,…..)
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
with the parameters for the first:
-version 2.0 -command “. ‘c:\Exchange\bin\RemoteExchange.ps1’; Connect-ExchangeServer -auto;.\roof.ps1”
with the parameters for the second:
-version 2.0 -command “. ‘c:\Exchange\bin\RemoteExchange.ps1’; Connect-ExchangeServer -auto;.\soof.ps1”

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Read More ...

Exchange Versions

Exchange Server Release dates

Product name Build number Date
 Microsoft Exchange Server 2003  6.5.6944233  03
 Microsoft Exchange Server 2003 SP1  6.5.7226  5/25/2004
 Microsoft Exchange Server 2003 SP2  6.5.7638  10/19/2005
 Microsoft Exchange Server 2007  8.0.685.24  12/9/2006
 Microsoft Exchange Server 2007  8.0.685.25  12/9/2006
 Microsoft Exchange Server 2007 SP1  8.1.240.6  11/29/2007
 Microsoft Exchange Server 2007 SP2  8.2.176.2  8/24/2009
 Microsoft Exchange Server 2007 SP3  8.3.083.6  6/20/2010
 Microsoft Exchange Server 2010  14.0.639.21  11/9/2009
 Microsoft Exchange Server 2010 SP1  14.1.218.15  8/24/2010
 Microsoft Exchange Server 2010 SP2  14.2.247.5  12/4/2011
 Microsoft Exchange Server 2010 SP3  14.3.123.4  2/12/2013
 Microsoft Exchange Server 2013  15.0.516.32  10/11/2012

 

Exchange Server 2007 Service Pack 1

Product name Build number Date KB
 Microsoft Exchange Server Exchange 2007 SP1  8.1.240.6  11/29/2007
 Update Rollup 1 for Exchange Server 2007 Service Pack 1  8.1.263.1  2/28/2008  KB945684
 Update Rollup 2 for Exchange Server 2007 Service Pack 1  8.1.278.2  5/8/2008  KB948016
 Update Rollup 3 for Exchange Server 2007 Service Pack 1  8.1.291.2  7/8/2008  KB949870
 Update Rollup 4 for Exchange Server 2007 Service Pack 1  8.1.311.3  10/7/2008  KB952580
 Update Rollup 5 for Exchange Server 2007 Service Pack 1  8.1.336.1  11/20/2008  KB953467
 Update Rollup 6 for Exchange Server 2007 Service Pack 1  8.1.340.1  2/10/2009  KB959241
 Update Rollup 7 for Exchange Server 2007 Service Pack 1  8.1.359.2  3/18/2009  KB960384
 Update Rollup 8 for Exchange Server 2007 Service Pack 1  8.1.375.2  5/19/2009  KB968012
 Update Rollup 9 for Exchange Server 2007 Service Pack 1  8.1.393.1  7/17/2009  KB970162
 Update Rollup 10 for Exchange Server 2007 Service Pack 1  8.1.436.0  4/9/2010  KB981407

 

Exchange Server 2007 Service Pack 2

Product name Build number Date KB
 Microsoft Exchange Server 2007 SP2  8.2.176.2  8/24/2009
 Update Rollup 1 for Exchange Server 2007 Service Pack 2  8.2.217.3  11/19/2009  KB971534
 Update Rollup 2 for Exchange Server 2007 Service Pack 2  8.2.234.1  1/22/2010  KB972076
 Update Rollup 3 for Exchange Server 2007 Service Pack 2  8.2.247.2  3/17/2010  KB979784
 Update Rollup 4 for Exchange Server 2007 Service Pack 2  8.2.254.0  4/9/2010  KB981383
 Update Rollup 5 for Exchange Server 2007 Service Pack 2  8.2.305.3  12/7/2010   KB2407132

 

Exchange Server 2007 Service Pack 3

Product name Build number Date KB
 Microsoft Exchange Server 2007 SP3  8.3.083.6  6/20/2010
 Update Rollup 1 for Exchange Server 2007 Service Pack 3  8.3.106.2  9/9/2010  KB2279665
 Update Rollup 2 for Exchange Server 2007 Service Pack 3  8.3.137.3  12/10/2010  KB2407025
 Update Rollup 3 for Exchange Server 2007 Service Pack 3  8.3.159.0  3/2/2011  KB2492691
 Update Rollup 3-v2 for Exchange Server 2007 Service Pack 3  8.3.159.2  3/30/2011  KB2530488
 Update Rollup 4 for Exchange Server 2007 Service Pack 3  8.3.192.1  7/7/2011  KB2509911
 Update Rollup 5 for Exchange Server 2007 Service Pack 3  8.3.213.1  9/21/2011  KB2602324
 Update Rollup 6 for Exchange Server 2007 Service Pack 3  8.3.245.2  1/25/2012  KB2608656
 Update Rollup 7 for Exchange Server 2007 Service Pack 3  8.3.264.0  4/16/2012  KB2655203
 Update Rollup 8 for Exchange Server 2007 Service Pack 3  8.3.279.3  8/13/2012  KB2734232
 Update Rollup 8-v2 for Exchange Server 2007 Service Pack 3  8.3.279.5  10/9/2012  KB2756497
 Update Rollup 8-v3 for Exchange Server 2007 Service Pack 3  8.3.279.6  11/13/2012  KB2778154
 Update Rollup 9 for Exchange Server 2007 Service Pack 3  8.3.297.2  12/10/2012  KB2746157
 Update Rollup 10 for Exchange Server 2007 Service Pack 3  8.3.298.3  2/11/2013  KB2788321
 Update Rollup 11 for Exchange Server 2007 Service Pack 3  8.3.327.1   8/13/2013  KB28737461
 Update Rollup 12 for Exchange Server 2007 Service Pack 3 ​ 8.3.342.4  12/10/2013  KB2903911
 Update Rollup 13 for Exchange Server 2007 Service Pack 3  8.3.348.1  2/25/2014  KB2917522
 Update Rollup 14 for Exchange Server 2007 Service Pack 3  8.3.379.2  8/26/2014  KB2936861
 Update Rollup 15 for Exchange Server 2007 Service Pack 3  8.3.389.2  12/9/2014  KB2996150
 Update Rollup 16 for Exchange Server 2007 Service Pack 3  8.3.406.0  3/17/2015  KB3030086

 

Exchange Server 2010

Product name Build number Date KB
 Microsoft Exchange Server 2010 RTM  14.0.639.21  11/9/2009
 Update Rollup 1 for Exchange Server 2010  14.0.682.1  12/9/2009  KB976573
 Update Rollup 2 for Exchange Server 2010  14.0.689.0  3/4/2010  KB979611
 Update Rollup 3 for Exchange Server 2010  14.0.694.0  4/9/2010  KB981401
 Update Rollup 4 for Exchange Server 2010  14.0.702.1  6/17/2010  KB982639
 Update Rollup 5 for Exchange Server 2010  14.0.726.0  12/13/2010  KB2407113

 

Exchange Server 2010 Service Pack 1

Product name Build number Date KB
 Microsoft Exchange Server 2010 SP1  14.1.218.15  8/24/2010
 Update Rollup 1 for Exchange Server 2010 SP1  14.1.255.2  10/4/2010  KB2407028
 Update Rollup 2 for Exchange Server 2010 SP1  14.1.270.1  12/9/2010  KB2425179
 Update Rollup 3 for Exchange Server 2010 SP1  14.1.289.3  3/7/2011  KB2492690
 Update Rollup 3-v3 for Exchange Server 2010 SP1  14.1.289.7  4/1/2011  KB2529939
 Update Rollup 4 for Exchange Server 2010 SP1  14.1.323.1  6/22/2011  KB2509910
 Update Rollup 4-v2 for Exchange Server 2010 SP1  14.1.323.6  7/27/2011  KB2579150
 Update Rollup 5 for Exchange Server 2010 SP1  14.1.339.1  8/23/2011  KB2582113
 Update Rollup 6 for Exchange Server 2010 SP1  14.1.355.2  10/27/2011  KB2608646
 Update Rollup 7 for Exchange Server 2010 SP1  14.1.421.0  8/13/2012  KB2743248
 Update Rollup 7-v2 for Exchange Server 2010 SP1  14.1.421.2  10/9/2012  KB2756496
 Update Rollup 7-v3 for Exchange Server 2010 SP1  14.1.421.3  11/12/2012  KB2778158
 Update Rollup 8 for Exchange Server 2010 SP1  14.1.438.0  12/10/2012  KB2787763

 

Exchange Server 2010 Service Pack 2

Product name Build number Date KB
 Microsoft Exchange Server 2010 SP2  14.2.247.5  12/4/2011
 Update Rollup 1 for Exchange Server 2010 SP2  14.2.283.3  2/13/2012  KB2645995
 Update Rollup 2 for Exchange Server 2010 SP2  14.2.298.4  4/16/2012  KB2661854
 Update Rollup 3 for Exchange Server 2010 SP2  14.2.309.2  5/29/2012  KB2685289
 Update Rollup 4 for Exchange Server 2010 SP2  14.2.318.2   8/13/2012  KB2706690
 Update Rollup 4-v2 for Exchange Server 2010 SP2  14.2.318.4  10/9/2012  KB2756485
 Update Rollup 5 for Exchange Server 2010 SP2  14.2.328.5  11/13/2012  KB2719800
 Update Rollup 5-v2 for Exchange Server 2010 SP2  14.2.328.10  12/10/2012  KB2785908
 Update Rollup 6 for Exchange Server 2010 SP2  14.2.342.3  2/11/2013  KB2746164
 Update Rollup 7 for Exchange Server 2010 SP2  14.2.375.0  8/13/2013  KB2874216
 Update Rollup 8 for Exchange Server 2010 SP2 14.2.390.3  12/10/2013  KB2903903

 

Exchange Server 2010 Service Pack 3

Product name Build number Date KB
 Microsoft Exchange Server 2010 SP3  14.3.123.4  2/12/2013  KB2808208
 Update Rollup 1 for Exchange Server 2010 SP3  14.3.146.0  5/29/2013  KB2803727
 Update Rollup 2 for Exchange Server 2010 SP3  14.3.158.1  8/13/2013  KB2866475
 Update Rollup 3 for Exchange Server 2010 SP3  14.3.169.1  11/25/2013  KB2891587
 Update Rollup 4 for Exchange Server 2010 SP3  14.3.174.1  12/10/2013  KB2905616
 Update Rollup 5 for Exchange Server 2010 SP3  14.3.181.6  2/25/2014  KB2917508
 Update Rollup 6 for Exchange Server 2010 SP3  14.3.195.1  5/23/2014  KB2936871
 Update Rollup 7 for Exchange Server 2010 SP3  14.3.210.2  8/26/2014  KB2961522
 Update Rollup 8-v2 for Exchange Server 2010 SP3  ​14.3.224.2  12/12/2014  KB2986475
 Update Rollup 9 for Exchange Server 2010 SP3  ​14.3.235.1  3/17/2015  KB3030085

 

Exchange Server 2013

Product Name Build Number Date
[mm/dd/yyyy]
KB
 Microsoft Exchange Server 2013 RTM  15.0.516.32  12/03/2012
 Exchange Server 2013 Cumulative Update 1 (CU1)  15.0.620.29  04/02/2013  KB2816900
 Exchange Server 2013 Cumulative Update 2 (CU2)  15.0.712.24  07/09/2013  KB2859928
 Exchange Server 2013 Cumulative Update 3 (CU3)  15.0.775.38  11/25/2013  KB2892464
 Exchange Server 2013 Service Pack 1 (SP1 aka CU4)  15.0.847.32  02/25/2014  KB2926248
 Exchange Server 2013 Cumulative Update 5 (CU5)  15.0.913.22  05/27/2014  KB2936880
 Exchange Server 2013 Cumulative Update 6 (CU6)  15.0.995.29  08/26/2014  KB2961810
 Exchange Server 2013 Cumulative Update 7 (CU7) ​ 15.0.1044.25  12/09/2014  ​KB2986485
 Exchange Server 2013 Cumulative Update 8 (CU8) ​ 15.0.1076.9  03/17/2015  ​KB3030080

 

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Read More ...

Get the size of mailboxes exchange 2010

For novices in exchange 2010, a very useful command to see the sizes of the exchange mailboxes:

Get-Mailbox | Get-MailboxStatistics | Sort-Object TotalItemSize –Descending | ft DisplayName,TotalItemSize,ItemCount

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Read More ...

Exchange 2003 information

Another interesting script to get information exchange 2003 mailboxes, useful in audits, reports, etc …

'==========================================================================
' NAME   : Exchange Mailbox Stats Dumper
' AUTHOR : Brian Desmond' DATE   : 12/28/2005
' COMMENT: This script requires Exchange 2003. It will dump information
'   about each mailbox on the mailbox servers specified
'
' Version  Date  Author   Note
' -----------------------------------------------------------------
' 1.0   28Nov05  Brian Desmond Initial Version
' 1.1   03Sep06  Brian Desmond 
' 1.2   13Dec08  Brian Desmond Fixed array sizing bug,
'           Added error handling note
'           Added TODOs
'           Moved configurable items up
'==========================================================================
Option Explicit
' Note this script currently uses On Error Resume Next
' this isn't best practice - in reality this should be tightly 
' wrapped around the WMI connection logic in the loop rather
' than up here.
On Error Resume Next
' TODO: Configure this
' This is the total number of servers which you
' will specify for inventory
Const TOTAL_SERVERS = 1
Dim strComputer()
ReDim strComputer(TOTAL_SERVERS)
' TODO: Populate this array
' Enter each server name below as an entry in the array
' starting with zero
strComputer(0) = "xxb01"
strComputer(1) = "xmb02"
strComputer(2) = "xmb03"
'==========================================================================
Dim objWMIService
Dim colItems
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
Dim fil
Set fil = fso.CreateTextFile("mailboxes.txt")
Dim objItem
Dim line
Dim i
' Write a header row to the CSV
fil.WriteLine """Server"",""Storage Group"",""Mail Store"",""Mailbox GUID"",""Display Name"",""LegacyDN"",""Size"",""Item Count"",""Associated Content Count"",""Deleted Message Size"",""Date Absent"",""Storage Limit Level"""
For i = 0 To TOTAL_SERVERS - 1
 Set objWMIService = GetObject("winmgmts:" _
     & "{impersonationLevel=impersonate}!\\" & strComputer(i) & _
         "\ROOT\MicrosoftExchangeV2")
  
 Set colItems = objWMIService.ExecQuery _
     ("Select * from Exchange_Mailbox")
  
 For Each objItem in colItems
  line = """" & objItem.ServerName & """"
  line = line & ","
  line = line & """" & objItem.StorageGroupName & """"
  line = line & ","
  line = line & """" & objItem.StoreName & """"
  line = line & ","
  line = line & """" & objItem.MailboxGUID & """"
  line = line & ","
  line = line & """" & objItem.MailboxDisplayName & """"   
  line = line & ","
  line = line & """" & objItem.LegacyDN & """"
  line = line & ","
  line = line & """" & objItem.Size & """"
  line = line & ","
  line = line & """" & objItem.TotalItems & """"
  line = line & ","
     line = line & """" & objItem.AssocContentCount & """"
     line = line & ","
     line = line & """" & objItem.DeletedMessageSizeExtended & """"
     line = line & ","
     line = line & """" & objItem.DateDiscoveredAbsentInDS & """"
     line = line & ","
     line = line & """" & objItem.StorageLimitInfo & """"
      
     fil.WriteLine line 
     'WScript.Echo line 
 Next
Next
fil.Close
Set fso = Nothing
Set objWMIService = Nothing
Facebooktwittergoogle_plusredditpinterestlinkedinmail

Read More ...