---
updatedAt: 2025-08-14T13:35:28.000Z
agentTools:
  siteIndex: https://developer.n-able.com/llms.txt
  projectIndex: https://developer.n-able.com/n-central/llms.txt
---

# Acronis Log check

```powershell PowerShell
# setup script
$logpath = 'C:\ProgramData\Acronis\TrueImageHome\logs\Ti_demon'
$filter = "fout"
# einde setup script

cd $logpath
ls | sort LastWriteTime | select -last 1 -OutVariable lastfilename
$SEL = Select-String -Path $lastfilename -Pattern $filter
if ($SEL -ne $null)
{
    Write-Host "Error message:"
    Write-Host "Log file:"
    Write-Host ""
    Get-Content $lastfilename
    Exit 1001
}
else
{
    Write-Host "Succes message"
    Write-Host "Log file:"
    Write-Host ""
    Get-Content $lastfilename
    Exit 0
}
```

```json Response Example
{"success":true}
```

# SCRIPT