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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: