I need help in Powershell Veeam Backup and Recovery 12 at hyper V.
I move Virtual Machines between my HyperV Machines. After that the skript should remove the Machine from Backup-Job and adds the VM with the new location. When I run the script, it checks the machines included in the backup job and displays a message stating that they are being updated... The machine is then removed from the job. The Add-VBRJobObject command is shown as obsolete, and the VM is not added back. Can anyone help me modify the script so that it works?
Attached my skript.
Veeam_Automatisieren.ps1.txt