Today I come with this simple tutorial about how to show logs from the last day.
The command is very simple and can be used with powershell and administrator command shell like this:

This command is build from Get-EventLog and parse by Get-Date, see options:

About AddDays is not only option you can use it.
You can get all of this options using this command:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.