MaxLogFileCount Parameter (Connect-ExcelOnline Cmdlet)
A string specifying the maximum file count of log files.
Syntax
Connect-ExcelOnline -MaxLogFileCount int
Data Type
int
Default Value
-1
Remarks
When the limit is hit, a new log is created in the same folder with the date and time appended to the end and the oldest log file will be deleted.
The minimum supported value is 2. A value of 0 or a negative value indicates no limit on the count.
Adjust the maximum size of the logfiles generated with MaxLogFileSize.