Symptoms
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:
Note You run the Get-AgentLog cmdlet to automatically generate a full report that lists all encountered issues.
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.
Resolution
To resolve this problem, install the following update rollup:
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More Information
For more information about the Get-AgentLog cmdlet, visit the following Microsoft website: