The problem I'm having is that the only object in the job list is a host, with all the VMs living underneath it.
Therefore, when I try to use:
Code: Select all
Remove-vbrJobObject -job $Job -Objects (Get-vbrJobObject -job $Job | Where {$_.Name -eq $VMName})
Is there a way to exclude the VMs under the host, without having to add each VM individually to the backup job?
Any help is greatly appreciated.