Skip to main content

Using the cmdlet Get-VBRJob I can get the backup job.  Pipping this to Get-VBRJobObject shows me the objects backed up by this job.

Most of the VMs in this backup job exist in folders so all I see are a list of those folders.
How do I get the VMs contained in these folder?

Are you able to show a screenshot of the output?  Sanitize it if necessary before posting.  Just curious to see this in order to assist.


If I run Get-VBRJob -Name "SRCP Daily" I get the backup job

when I pipe the output to Get-VBRJobObject I get the objects backed up by this backup job.
Apart from the top line, all of the others are Folders.

I’m not sure how to expand these folders to get a list of all the VMs.


If I run Get-VBRJob -Name "SRCP Daily" I get the backup job

when I pipe the output to Get-VBRJobObject I get the objects backed up by this backup job.
Apart from the top line, all of the others are Folders.

I’m not sure how to expand these folders to get a list of all the VMs.

Does this happen to be vCloud backups?  So vAPPs?  Just wondering as the location column is not seen in the second screenshot so was curious.

Looking to see if there is a way (which I am sure there is) to do this.


No...my environment is entirely on-premise.  I thought this would be something quite simple and it was for backup jobs where each VM is selected individually.  Where the backup job selects a Folder it’s got me stumped.


Hi @looney_pantz -

What if you add -Recurse to your piped Get-VBRJobObject cmdlet?


Hi @looney_pantz -

What if you add -Recurse to your piped Get-VBRJobObject cmdlet?

Recurse does not work as I tried that already.  Trying to see if I can find an answer via Dr. Google.  LOL

 
 
 

Hi @looney_pantz -

What if you add -Recurse to your piped Get-VBRJobObject cmdlet?

Recurse does not work as I tried that already.  Trying to see if I can find an answer via Dr. Google.  LOL

 
 
 

👍🏻 😊


It appears based on this thread from 2020 on the Forums that there is not a way to get the VMs when selecting a folder for a job - Get-VBRJobObject and "vm folders" - R&D Forums (veeam.com)

I might suggest you start a new thread on the Forums - https://forums.veeam.com to see if there has been any changes in the latest release to allow this.

Hope you get it sorted and let us know if you do.

 
 
 

Comment