I want to quickly check the events that happened today (that is: anything from midnight onwards); is there a βtodayβ alias / built in to Powershell to help with this?
I am currently doing something like this:
get-eventlog system -source "disk" -after ([datetime] '01/01/2015')
But of course I have to change the date string.
[Also: does this datetime constructor seem to insist only on the date format in the US (mm / dd / yyyy) - even though my Windows Locale is UK?]
source
share