Iv'e been searching far and wide on how to extract the error messages with PowerShell from veeam when your job fails.
I found this from a post from 2011, with a bit of code, but it doesn't seem to work now.
- Code: Select all
$Info = [Veeam.Backup.Core.CBackupTaskSession]::GetByJobSession($session.id)
Is there someone who can point me in the right direction or is this impossible to get?
I'm using Veeam Backup & Replication 9.0
Best Regards Christopher