The VM to migrate is obtained with Find-VBRViEntity and assigned to the $vm variable beforehand,

The host to where the VM will be migrated is obtained with Get-VBRServer and assigned to the $server variable beforehand,

The resource pool to where the VM will be migrated is obtained with Find-VBRViResourcePool and assigned to the $pool variable beforehand,

The datastore to connect the VM to is obtained with Find-VBRViDatastore and assigned to the $datastore variable beforehand,

The folder to where the VM will be migrated is obtained with Find-VBRViFolder and assigned to the $folder variable beforehand.

The source and target proxies are not set enabling the Quick Migration mechanism to select them automatically. The -ForceVeeamQM parameter is not set enabling the use of VMware VMotion. The -DeleteSourceVmFiles parameter is set to enable the clear up of the original VM files upon successful migration. The -RunAsync parameter is not set.