The Get-AgentLog cmdlet operation stops, and you receive an error message in Exchange Server 2007
Content provided by Microsoft
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: