Hi Brent,
I've added your request to our list - however you could accomplish this today with a custom script in VRO.
Create a script step which will delete the current VM, and set it to run -
1. Only during a test! You don't want to delete the VM during a real restore.
2. After all other checks and steps have completed for the VM, in other words, last in the list of steps for each VM.
The script should execute on either VBR server or VRO server, and use VBR powershell to delete the tested VM. Alternatively you could use vCenter CLI to remove the VM from vCenter directly. You can pass in parameters from VRO such as restored_vm_name and so on, to ensure the correct VM is removed. Also pass in the parameter plan_test_mode (true/false) so your script will exit unless the plan is testing.
If you'd like any assistance creating such a script, let us know!
I've added your request to our list - however you could accomplish this today with a custom script in VRO.
Create a script step which will delete the current VM, and set it to run -
1. Only during a test! You don't want to delete the VM during a real restore.
2. After all other checks and steps have completed for the VM, in other words, last in the list of steps for each VM.
The script should execute on either VBR server or VRO server, and use VBR powershell to delete the tested VM. Alternatively you could use vCenter CLI to remove the VM from vCenter directly. You can pass in parameters from VRO such as restored_vm_name and so on, to ensure the correct VM is removed. Also pass in the parameter plan_test_mode (true/false) so your script will exit unless the plan is testing.
If you'd like any assistance creating such a script, let us know!
Statistics: Posted by Alec King — May 07, 2025 6:20 am







