Get-EventLog does not display retention dates

Monday, December 16th, 2019

A simple issue of trying to print the retention days for the logfiles.

The problem is the date does not print with the standard output column name.

You have to use the property MinimumRetentionDays

Lesson of the day? Always use the GM option.

Leave a comment