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
}

Comments

Popular posts from this blog

Always On FailOver Events

The transaction log for database is full due to 'OLDEST_PAGE'

SSAS Cube or Database backup with Powershell command "Backup-AsDatabase"