I am the Senior Automation Engineer for a MSP, and I have expert level knowledge and experience with PowerShell. That said, I create unit tests for virtually all my automation because I am also fully human! If I am missing something simple, I apologize in advance!
I have created automation that will facilitate creating recovery media en mass via our RMM, but unfortunately it looks like the basic cmdlets are not operational...
Referencing Example 1 at https://helpcenter.veeam.com/docs/backu ... ml?ver=100
The process is simple:
1. Create a an object to contain the path
2. Get the desired computer
3. Create the recovery media, passing both the desired computer object and the path object
Before using these cmdlets in my automation, I wanted to make sure I could create the ISOs manually through the PowerShell CLI and observe (in order to handle in my automation) any potential exceptions. But the error message I am getting would seem to imply that the cmdlets are not working in their basic form, and I have a suspicion as to why...
Figure 1: My version of the example (manually entered, line by line, into PowerShell CLI for testing and observation)

Figure 2: Backup copy chain that can't be used--my suspicion is that Veeam PowerShell cmdlet is trying to use

Figure 3: Backup chain that CAN be used

Figure 4-6: Demonstrate of successful creation via UI



So as you can see above, I think what is happening is that Veeam's PowerShell cmdlet is trying to create the recovery media from a copy job or another source, rather than from the Backups > Disk > [redacted]-LBS-Desktops > LAPTOP115.[redacted].root backup chain. I can create a recovery media ISO from this chain through UI just fine.
So how do I tell Veeam what backup chain to use for the Add-VBRDiscoveredComputerRecoveryMedia cmdlet?