Try the new cross-platform PowerShell
Installing PowerShell - PowerShell
PS C:\Users\PV> Get-EventLog -LogName System -Source User32 -newest 100 | ? { $_.Message -notlike "*explorer.exe*" -and $_.Message -notlike "*winlogon.exe*" }
>> Like Quote ReplyReport
Index Time EntryType Source InstanceID Message
----- ---- --------- ------ ---------- -------
10653 Sep 10 16:50 Warning User32 2147484721 The attempt by user DELL02\PV to restart/shutdo...
7626 Aug 13 14:07 Warning User32 2147484721 The attempt by user DELL02\PV to restart/shutdo...
7530 Aug 12 10:03 Warning User32 2147484721 The attempt by user DELL02\PV to restart/shutdo...
Like : The term 'Like' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:2 char:2
+ Like Quote ReplyReport
+ ~~~~
+ CategoryInfo : ObjectNotFound: (Like:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
This is what came up. No mention of 12/22 when the event took place. I copied paste into power shell and copied paste for here.