PowerShell tips – part 009.

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:

admin

born 1976, Falticeni , Suceava , Romania
Posted in All, Commands, PowerShell, Windows 8. Tagged with , , , , .