VMware Cloud Community
jamie20
Enthusiast
Enthusiast

Vcenter and Veeam Comparison Report

Hi all,

Am trying a script that compares vm in vcenter and replication object in veeam .

Vcenter - Get-vm | where{$_.name -notlike "*replica*"} | select Name,VMHost

Veeam - Get-VBRJob | ?{$_.JobType -eq "Replica"} | %{ $JobName = $_.Name;$_ | Get-VBRJobObject | ?{$_.Object.Type -eq "VM"} | Select @{ N="Job"; E={$JobName}}, Name }

 

I wish to  compare vm's in vcenter with vm's in veeam  and get it as a report like below format

NameVMHostJobReplication Status
vm1Host1Host1_ReplicationAvailable
vm2Host1Host1_ReplicationAvailable
vm3Host1Host1_ReplicationNot Available

 

I can make the first three columns, but don't know how to make the last column... Any help?

0 Kudos
1 Reply
LucD
Leadership
Leadership

Isn't that a question for the Veeam PowerShell forum?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos