The Get-AgentLog cmdlet operation stops, and you receive an error message in Exchange Server 2007

Article translations Article translations
Article ID: 981794 - View products that this article applies to.
Expand all | Collapse all


You run the Get-AgentLog cmdlet in the Exchange Management Shell on a Microsoft Exchange Server 2007 server. If a certain error is encountered on a specific line in a log file, the Get-AgentLog cmdlet operation stops. Additionally, you receive the following error message:
Get-AgentLog : The log entry on line xx in file '<the log file path and file name>' is not valid. At line: xx char:xx

Note You run the Get-AgentLog cmdlet to automatically generate a full report that lists all encountered issues.


To resolve this problem, install the following update rollup:
2279665 Description of Update Rollup 1 for Exchange Server 2007 Service Pack 3


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


For more information about the Get-AgentLog cmdlet, visit the following Microsoft website:
General information about the Get-AgentLog cmdlet


Article ID: 981794 - Last Review: October 12, 2010 - Revision: 5.0
  • Microsoft Exchange Server 2007 Service Pack 3
  • Microsoft Exchange Server 2007 Enterprise Edition
  • Microsoft Exchange Server 2007 Standard Edition
kbfix kbqfe kbexpertiseinter kbsurveynew kbhotfixrollup KB981794

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from