I need to give a report on the status of replication of every VM. So this question goes two-fold:
1) to show the last succeeded Replica
2) to show every VM that is NOT replicated (comparing to vCenter 1)
Hi Hans, do you have Veeam ONE deployed? If so, you can use its predefined report called "Protected VMs" that seems to provide information you're after. Thanks.
Then, I would recommend checking this thread that contains working script examples. One thing you will have to change is the sessions' collection, because the referenced thread talks about backups, not replicas. You can try to get only replica sessions, using the following code:
UPDATE: the Protected VMs report is also available in SCOM and actually does pretty much the trick very well
The only problem is that the report, even when choosing Replica jobs, still shows "Backup" as the title everywhere. But I'm sure Alec & Teeam will get that sorted out one day.