Syntax
#param([Int32]$days)
if($days -ne $null -and $days -ne ”){
$success_5100 = Get-EventLog -LogName Application -InstanceId 5100 -Source “Altaro Physical Server Backup” -After (Get-Date).AddHours(-24*$days) -erroraction silentlycontinue
$line = $success_5100 | measure-object -line
Download Full Script
Purpose: | Weekly Maintenance of a single device or all devices in the domain |
Modification: | The user can modify the number of days |
Type: | PowerShell (.ps1) |
Compatibility: | Run with PowerShell |
Tags: | altaro physical backup software, backup status |
Reference link: |