Code: Select all
Asnp VeeamPSSnapin
foreach ($Job in (Get-VBRJob | where {$_.JobType -eq "Backup"}))
{
foreach ($Session in (Get-VBRBackupSession | Where {$_.Jobname -eq $Job.name}) | Sort creationtime -Descending | select -First 10)
{
$nome_job = $Job.Name
$stato = $Session.State
$esito = $Session.result
(...)
}
}
Is there any way to run it from my client PC in order to get information about jobs running on a remote Veeam B&R server?
Regards
marius