Get-BrokerConnectionLog is only returning last three days data

Get-BrokerConnectionLog is only returning last three days data

book

Article ID: CTX694674

calendar_today

Updated On:

Description

Get-BrokerConnectionLog command is only giving data from the last three days. However, running this same command just over a week ago, and it successfully pulled session data for almost a month. 

Resolution

Using  Get-BrokerConnectionLog -MaxRecordCount 99999 returning data for required days


Problem Cause

Get-BrokerConnectionLog is only returning last three days data, it requires MaxRecordCount as well in the command