PowerShell | Get-EventLogSimple one today! Lets start in powershell and use... and done yea?
lets make it make it actually work for us
now lets sort these puppies with much nicer output!
Last 7 days of logs: So thats nice however the -Newest isnt that helpful if you are doing this constantly so lets change it a bit
Now lets output this to a txt file too
This could be handy scheduled task for checking counts for events and seeing whats causing them and if an action is actually needed? Could also have them emailed to an email address too. PowerShell | Windows Backup with email notifications
I hope this is helpful! |