Aggiungere una VM ad un job con PowerShell

Utilizzare questo script per automatizzare l'operazione

Add-PSSnapin VeeamPSSnapin
$Entity = Find-VBRViEntity -name "nomeDellaVM"
$Job = Get-VBRJob -name "nomeDelJob"
Add-VBRViJobObject -Job $Job -Entities $Entity