Cmdlet failed. Cmdlet Get-AgentLog

Hello,

This event show up every half hour on both CAS Servers .. EX 2010 SP3 RU10

MSExchange Management Logs..


August 22nd, 2015 2:26pm

Hi,

What's the error if you run the following command?

Get-AgentLog-StartDate "8/22/2015 7:48:02 PM" -EndDate "8/22/2015 8:03:02 PM"

And if there any script or command related to Get-AgentLog in task scheduler?

Best Regards.

Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 2:30am

Hello,

this event id "6" on all my CAS & Edge Servers .. not on the mailbox servers.. 


and no there's no scripts or commands in the task scheduler 

Please correct me if iam mistaken but i understand this agentlogs are related to the anti-spam agent .. and i disabled antispam on our both CAS Servers ... and we are using EDGE now instead on another two serves.

According to this URL: http://exchangepedia.com/2007/04/exchange-server-2007-managing-and-filtering-anti-spam-agent-logs.html

Agent Log are enabled by default.. so do i disable or enable the Agentlog ? 



August 24th, 2015 11:26am

This after entering space between Get-Agentlog and -StartDate

Obviously the logs he's trying to get is not located in the path.. so i think we need to enable the logging .. or disable the service seeking this logs "if this service is the anti-spam" i already disabled it on both CAS Servers.

Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 11:55am

Hello,

this event id "6" on all my CAS & Edge Servers .. not on the mailbox servers.. 


and no there's no scripts or commands in the task scheduler 

Please correct me if iam mistaken but i understand this agentlogs are related to the anti-spam agent .. and i disabled antispam on our both CAS Servers ... and we are using EDGE now instead on another two serves.

According to this URL: http://exchangepedia.com/2007/04/exchange-server-2007-managing-and-filtering-anti-spam-agent-logs.html

Agent Log are enabled by default.. so do i disable or enable the Agentlog ? 



  • Edited by Sn0w_MOnkEY Monday, August 24, 2015 3:55 PM
August 24th, 2015 3:23pm

Hello,

this event id "6" on all my CAS & Edge Servers .. not on the mailbox servers.. 


and no there's no scripts or commands in the task scheduler 

Please correct me if iam mistaken but i understand this agentlogs are related to the anti-spam agent .. and i disabled antispam on our both CAS Servers ... and we are using EDGE now instead on another two serves.

According to this URL: http://exchangepedia.com/2007/04/exchange-server-2007-managing-and-filtering-anti-spam-agent-logs.html

Agent Log are enabled by default.. so do i disable or enable the Agentlog ? 



  • Edited by Sn0w_MOnkEY Monday, August 24, 2015 3:55 PM
Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 3:23pm

This after entering space between Get-Agentlog and -StartDate

Obviously the logs he's trying to get is not located in the path.. so i think we need to enable the logging .. or disable the service seeking this logs "if this service is the anti-spam" i already disabled it on both CAS Servers.

  • Edited by Sn0w_MOnkEY Monday, August 24, 2015 4:05 PM
August 24th, 2015 3:53pm

This after entering space between Get-Agentlog and -StartDate

Obviously the logs he's trying to get is not located in the path.. so i think we need to enable the logging .. or disable the service seeking this logs "if this service is the anti-spam" i already disabled it on both CAS Servers.

  • Edited by Sn0w_MOnkEY Monday, August 24, 2015 4:05 PM
Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 3:53pm

Hi,

Is there any Agent log for the specific date range in that location?

Check if the Agent log is enabled.

https://technet.microsoft.com/en-us/library/bb124795%28v=exchg.141%29.aspx

Best Regards.

August 30th, 2015 10:45pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics