This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to get a list of VMs of a scheduled job?

Hi,

is there a possibility (using GUI or PowerShell) to export a list of all the VMs of a scheduled job? The User Guide does not seem to provide a solution for this.

Alternatively, could this information extracted from one of vRanger's config files manually?

  • This topic has been discussed few times. In brief, this is about jobs set on some container level - folder, pool, host, cluster, etc. - that contains two or more VMs. Ranger does not keep a list of member VMs anywhere. Only container ID is stored in the DB and linked to the Job. When a Job starts, Ranger makes API call to return content of the container. Then an individual Task is created for each of VMs. You can see this in the Job log.
    No need to explain that a container can be pretty flexible and members can come and go due to the manual intervention or DRS/HA.
    When we need a list of included VMs we can do it only for the specific point in time. VMware PowerCLI has a set of necessary cmdlets including Get-VM
    www.vmware.com/.../Get-VM.html
    Hopefully, I have answered your questions.