Posts

Showing posts from February, 2023

SQL Server Database BACKUP failure events.

  cls $logs = @ ( 'System' , 'Application' , 'Security' ) foreach ( $log in $logs ){ Get-EventLog ` -LogName $log | Where-Object {( $_ .EventID -in(3041,18210,9002)) -and ( $_ .TimeWritten -like '*02/12/2023*' )}| Format-Table -Wrap }