The last command returned a "Temporary helper SOBR for importing backups from object storage" which I did not save into a variable. Now I am figuring out how to programmatically determine when the Configuration Database Resynchronize task status will turn from Working to Success (in other works how to wait for completion). (?)
Guys, how do I get a Configuration Database Resynchronize job (History --> System --> Configuration Database Resynchronize [instance])? I need to (programmatically) wait for it to finish (Status -ne "Working").
I'm not sure there's a supported method at this time for getting it. If you're willing to go into unsupported territory with .NET Reflection, you can use the following:
This just returns the most recent Configuration Database Resynchronize Task. If you're expecting to launch a bunch of these at once, you can use the GetRunning() method and then filter on JobType "102"
David Domask | Product Management: Principal Analyst
DId you launch this from a Powershell console with the Veeam Powershell Module loaded? (You can do this automatically from Veeam from the Menu > Console > Powershell, or from any powershell with Veeam console installed by Import-Module Veeam.Backup.Powershell.
You will need to run _any_ normal cmdlet first, like Get-VBRLicenseAutoUpdateStatus
David Domask | Product Management: Principal Analyst