BackupExec / BEMCLI / New-BEVMwareSelection / IaC
Trying to select all VMs in a folder:
This works, but selects a single VM, not all VMs in a folder:
#$v01 = New-BEVMwareSelection "DC\Folder\NameofVM"
None of these work:
#$v01 = New-BEVMwareSelection -Path "DC\Folder"
#$v01 = New-BEVMwareSelection -Path "DC\Folder/"
#$v01 = New-BEVMwareSelection -Path "DC\Folder/"
#$v01 = New-BEVMwareSelection -Path "DC\Folder\*"
When BEMCLI does not crashout, it all looks ok in the GUI, as it maps the folder name correctly, but when job runs, it says no VMs selected and nothing to backup. When BEMCLI does crashout, it cant find a VM named "*". 🤷♂️
Did "someone" forget to add wildcard selection to the logic itself? The Help file implies this should work, or have I got the wrong syntax? Help appreciated, as its part of IaC to script/build the backupserver and its jobs.

