Forum Discussion
philp1300
Nov 07, 2020Copper Contributor
Evaluating Windows Application log
I am trying to evaluate the Windows Application log. Specifically Source = Windows Backup. I am running the following Script which produces the results I am looking for. $q = get-eventlog -logname a...
- Nov 08, 2020
when it comes to evaluation, your friend should be If ( this ) {action}
$q = get-eventlog -logname application -source 'edgeupdate' -newest 1 if ($q.EntryType -like "Information"){ Write-Host "do whatever action"}
philp1300
Nov 08, 2020Copper Contributor
ok thanks I think I can work with that.
farismalaeb
Nov 08, 2020Iron Contributor