Skip to content

Powershell syncronize Backup-Job after moving a Virtual Machine to another Hyper-V Server #252

@Thomas811

Description

@Thomas811

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions