Hi
I added the script from v.Eremin here to link it better to the "Getting Started and Code Examples"
If you try to run a post Job script only if Job Ends with "success" or "warning",
you can use a powershell script as post Job command (started by a normal cmd) to check if Job Ends the right way:
asnp VeeamPSSnapin
$Job = Get-VBRJob -name "Name of your job"
If ($job.GetLastresult() -eq "Warning" -or $job.GetLastresult() -eq "Success")
{
Place your commands here that you want to start
} Else {}
Hi Vladimir,
thanks for your answer.
because of my fully booked calendar I added only the things I used at daily business to the example topic.
I hope that I can add more content here after v7 beta/release.
If you see or have other good code examples, please add it to the "example" topic or send me a link and I will add them.